elm_index: Also free last on error path.
authorStefan Schmidt <s.schmidt@samsung.com>
Tue, 17 Jun 2014 09:12:04 +0000 (11:12 +0200)
committerStefan Schmidt <s.schmidt@samsung.com>
Tue, 17 Jun 2014 09:12:04 +0000 (11:12 +0200)
commit79e94bd936f61b5779e543eee570ebbd87ef9f2f
tree6001d0995b2a730d14bd543dea784c15ab329cc3
parent1c530b6c0c796fb991c2641f0ed0add45a8a49da
elm_index: Also free last on error path.

If we can't realloc label we need to free last before we can return
or we leak it.

CID: 1193240
src/lib/elm_index.c