Sat, 20 Apr 2024 12:50:38 +0200
remove disabled realloc debug code from libxattr
dav/libxattr.c | file | annotate | diff | comparison | revisions |
--- a/dav/libxattr.c Sat Apr 20 12:43:44 2024 +0200 +++ b/dav/libxattr.c Sat Apr 20 12:50:38 2024 +0200 @@ -43,7 +43,7 @@ size_t array_len = *len; if(array_pos >= array_len) { size_t newlen = array_len * 2; - char **new_array = NULL; //realloc(array, newlen * sizeof(char*)); + char **new_array = realloc(array, newlen * sizeof(char*)); if(!new_array) { return 1; }