X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=util.c;h=ca8f2e87ae5d49213400bf13021118a12ba7be59;hp=f1bb1212cb3292f53f5ba09aee7f1f3cebda6509;hb=8afd373e4f35d363c763301af804b2628b46437d;hpb=3e75750ad6893e1af78474cc085cff64bb7c98c8 diff --git a/util.c b/util.c index f1bb121..ca8f2e8 100644 --- a/util.c +++ b/util.c @@ -321,7 +321,7 @@ int util_asprintf(char **ret, const char *fmt, ...) { allocated = (char*)mem_a(4096); /* A page must be enough */ strerror_s(allocated, 4096, num); - + vec_push(vector, allocated); return (const char *)allocated; }