summaryrefslogtreecommitdiffstats
path: root/libmount/src/optstr.c
diff options
context:
space:
mode:
authorNamhyung Kim2013-09-25 17:32:04 +0200
committerKarel Zak2013-09-26 09:34:56 +0200
commitc470cbfc85ffba5f0fae7a74d27553fd623a9844 (patch)
treea2300da6b77bdf37b4fdd68ddbf901d0cb5e5154 /libmount/src/optstr.c
parentlibmount: Get rid of an unnecessary check (diff)
downloadkernel-qcow2-util-linux-c470cbfc85ffba5f0fae7a74d27553fd623a9844.tar.gz
kernel-qcow2-util-linux-c470cbfc85ffba5f0fae7a74d27553fd623a9844.tar.xz
kernel-qcow2-util-linux-c470cbfc85ffba5f0fae7a74d27553fd623a9844.zip
libmount: Free splitted optstr's when error occurred
When strdup() failed, u, v and f optstr's should be freed. Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Diffstat (limited to 'libmount/src/optstr.c')
0 files changed, 0 insertions, 0 deletions