diff options
author | Karel Zak | 2009-02-24 16:39:04 +0100 |
---|---|---|
committer | Karel Zak | 2009-02-24 16:39:04 +0100 |
commit | c8f1e920ab9e28f2fd52b9023b85144c3c90d80c (patch) | |
tree | e8a3dc13924ccf45178b7a004b71ff5326d2e23e /libs/blkid/src/tag.c | |
parent | blkid: remove useless if-before-free tests (diff) | |
download | kernel-qcow2-util-linux-c8f1e920ab9e28f2fd52b9023b85144c3c90d80c.tar.gz kernel-qcow2-util-linux-c8f1e920ab9e28f2fd52b9023b85144c3c90d80c.tar.xz kernel-qcow2-util-linux-c8f1e920ab9e28f2fd52b9023b85144c3c90d80c.zip |
blkid: fix a syntax nit
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libs/blkid/src/tag.c')
-rw-r--r-- | libs/blkid/src/tag.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/blkid/src/tag.c b/libs/blkid/src/tag.c index bb9171d99..f7d04950a 100644 --- a/libs/blkid/src/tag.c +++ b/libs/blkid/src/tag.c @@ -204,7 +204,8 @@ int blkid_set_tag(blkid_dev dev, const char *name, errout: if (t) blkid_free_tag(t); - else free(val); + else + free(val); if (head) blkid_free_tag(head); return -BLKID_ERR_MEM; |