X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ndmp-src%2Fndmp_translate.h;h=2f8f2fc1e741c7e9dbab7993d426220a5dc92d77;hb=e7c9810a75f51ad43cc8e18f92099d7f717d6da7;hp=cc2d08fad5f4642496981198a7469650490e29a1;hpb=d5853102f67d85d8e169f9dbe973ad573306c215;p=debian%2Famanda diff --git a/ndmp-src/ndmp_translate.h b/ndmp-src/ndmp_translate.h index cc2d08f..2f8f2fc 100644 --- a/ndmp-src/ndmp_translate.h +++ b/ndmp-src/ndmp_translate.h @@ -100,6 +100,8 @@ #define CNVT_STRDUP_FROM_9x(PX, P9, MEMBERX, MEMBER9) \ convert_strdup ((P9)->MEMBER9, &(PX)->MEMBERX) +#define CNVT_FREE(PX, MEMBERX) \ + { NDMOS_API_FREE((PX)->MEMBERX) ; (PX)->MEMBERX = NULL; }; /*