]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - string.c
Improve help/man page of para_filter.
[paraslash.git] / string.c
index 752fb8f945d1a381b7b7af4e65ed56b646df8d47..d23e43c1eecb1d34e4eaefda77423da076ab412a 100644 (file)
--- a/string.c
+++ b/string.c
@@ -59,9 +59,10 @@ __must_check __malloc void *para_realloc(void *p, size_t size)
  */
 __must_check __malloc void *para_malloc(size_t size)
 {
-       assert(size);
-       void *p = malloc(size);
+       void *p;
 
+       assert(size);
+       p = malloc(size);
        if (!p) {
                PARA_EMERG_LOG("malloc failed (size = %zu),  aborting\n",
                        size);