]> git.lizzy.rs Git - nothing.git/blobdiff - src/str.c
(#523) Remove show-label
[nothing.git] / src / str.c
index 50147d126dab47bbc883c7ff974c3e2a30078ecd..447fe25049370c1f7b150296ee5795bf3146c536 100644 (file)
--- a/src/str.c
+++ b/src/str.c
@@ -49,7 +49,6 @@ char *string_append(char *prefix, const char *suffix)
         return string_duplicate(suffix, NULL);
     }
 
-    /* TODO(#480): there is not nth_realloc */
-    prefix = realloc(prefix, strlen(prefix) + strlen(suffix) + 1);
+    prefix = nth_realloc(prefix, strlen(prefix) + strlen(suffix) + 1);
     return strcat(prefix, suffix);
 }