]> err.no Git - systemd/commitdiff
journal: fix memory leak
authorLennart Poettering <lennart@poettering.net>
Wed, 14 Mar 2012 17:31:38 +0000 (18:31 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 14 Mar 2012 17:31:38 +0000 (18:31 +0100)
src/journal/journald.c

index ad7c655ff4e17678906ede9d29ba77c98b1ec2f6..aea7816679a714d871beeef31b05dbbb9fd9260e 100644 (file)
@@ -1310,6 +1310,7 @@ finish:
                         free(iovec[j].iov_base);
         }
 
+        free(iovec);
         free(identifier);
         free(message);
 }