OSDN Git Service

block/vvfat: Fix potential memory leaks and other memory errors
authorStefan Weil <weil@mail.berlios.de>
Fri, 30 Sep 2011 21:29:53 +0000 (23:29 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 11 Oct 2011 07:42:45 +0000 (09:42 +0200)
commitce137829e7e58fcdc5ba63b5e256f972e80be438
treee32846e6d1aae7b2f3d18c4bd6a0e24ebdb8c2c4
parentd2078cc238ae30956f9ec74e656323e701937b4e
block/vvfat: Fix potential memory leaks and other memory errors

cppcheck reported memory leaks and mismatched g_malloc() with free()
instead of g_free().

Fix these errors.

Cc: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vvfat.c