summaryrefslogtreecommitdiffstats
path: root/daemon/fsck.c
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-06-08 22:16:59 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-06-09 10:53:23 +0100
commit3135b8c378f9f98ae66e37fd79d305764334980d (patch)
tree2f07f980cb24e5455644b1f216be7de706c72c70 /daemon/fsck.c
parent7fae594df719d1d81a043c4d0280b359f750facb (diff)
downloadlibguestfs-3135b8c378f9f98ae66e37fd79d305764334980d.tar.gz
libguestfs-3135b8c378f9f98ae66e37fd79d305764334980d.tar.xz
libguestfs-3135b8c378f9f98ae66e37fd79d305764334980d.zip
Coverity: Don't leak error strings.
Diffstat (limited to 'daemon/fsck.c')
-rw-r--r--daemon/fsck.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/fsck.c b/daemon/fsck.c
index e452adc0..7a36440f 100644
--- a/daemon/fsck.c
+++ b/daemon/fsck.c
@@ -39,5 +39,6 @@ do_fsck (const char *fstype, const char *device)
return -1;
}
+ free (err);
return r;
}