X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ndmp-src%2Fndmp_translate.h;fp=ndmp-src%2Fndmp_translate.h;h=2f8f2fc1e741c7e9dbab7993d426220a5dc92d77;hb=109540caa4e37a3663b3dcfb9a205b9609e3f561;hp=cc2d08fad5f4642496981198a7469650490e29a1;hpb=4c9eba1feb11adf189bceb4001c425e641f0b56a;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; }; /*