X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=form%2Ffty_alpha.c;h=bd49544ffdb5b5553f5d42169fca1c9e097ff86c;hp=e9fb6f5820a01003d1abf2c36c249887f22ddb6c;hb=bbb7fd37298f7d81386a4cf868417b9e084d7d90;hpb=5242fccf157e715ed878455a3efea6c82b840eb5;ds=sidebyside diff --git a/form/fty_alpha.c b/form/fty_alpha.c index e9fb6f58..bd49544f 100644 --- a/form/fty_alpha.c +++ b/form/fty_alpha.c @@ -34,7 +34,7 @@ #include "form.priv.h" -MODULE_ID("$Id: fty_alpha.c,v 1.22 2007/02/03 23:37:46 tom Exp $") +MODULE_ID("$Id: fty_alpha.c,v 1.23 2007/10/13 19:32:09 tom Exp $") #define thisARG alphaARG @@ -55,7 +55,7 @@ thisARG; static void * Make_This_Type(va_list *ap) { - thisARG *argp = (thisARG *) malloc(sizeof(thisARG)); + thisARG *argp = typeMalloc(thisARG, 1); if (argp) { @@ -78,7 +78,7 @@ static void * Copy_This_Type(const void *argp) { const thisARG *ap = (const thisARG *)argp; - thisARG *result = (thisARG *) malloc(sizeof(thisARG)); + thisARG *result = typeMalloc(thisARG, 1); if (result) {