From: Jan Janssen Date: Thu, 8 Mar 2018 15:44:17 +0000 (+0100) Subject: umount: Fix memory leak X-Git-Tag: v239~550^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=659b15313b9ca8c7f3f6e523e0d3fd696243ff8b;p=thirdparty%2Fsystemd.git umount: Fix memory leak --- diff --git a/src/core/umount.c b/src/core/umount.c index ff3e63710c5..8ba4179a0fb 100644 --- a/src/core/umount.c +++ b/src/core/umount.c @@ -61,6 +61,8 @@ static void mount_point_free(MountPoint **head, MountPoint *m) { LIST_REMOVE(mount_point, *head, m); free(m->path); + free(m->options); + free(m->type); free(m); }