X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=spx_afh.c;h=cd3b7cde907388465f04ead39af10bd125d154ca;hb=3aab63d546b9266e93c9b8e8e54cb0991f0fb6ba;hp=caeacb1921341b04b26f117d5de6607a80ab95e9;hpb=e2ad488f4d30b6d9617702b8ce868ed7c55a4247;p=paraslash.git diff --git a/spx_afh.c b/spx_afh.c index caeacb19..cd3b7cde 100644 --- a/spx_afh.c +++ b/spx_afh.c @@ -195,7 +195,7 @@ static size_t spx_make_meta_packet(struct taginfo *tags, char **result) } PARA_DEBUG_LOG("meta packet size: %zu bytes\n", sz); /* terminating zero byte for the last sprintf() */ - buf = p = para_malloc(sz + 1); + buf = p = alloc(sz + 1); write_u32(p, comment_sz); p += 4; strcpy(p, tags->comment);