summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.c b/src/util.c
index dd29488..6f9c2b3 100644
--- a/src/util.c
+++ b/src/util.c
@@ -85,6 +85,7 @@ lilv_strjoin(const char* first, ...)
const size_t this_len = strlen(s);
char* new_result = (char*)realloc(result, len + this_len + 1);
if (!new_result) {
+ va_end(args);
free(result);
return NULL;
}