elementary: fix memory leaks when using elm_prefs 46/153446/1
authorYoungbok Shin <youngb.shin@samsung.com>
Thu, 28 Sep 2017 10:41:56 +0000 (19:41 +0900)
committerYoungbok Shin <youngb.shin@samsung.com>
Thu, 28 Sep 2017 10:41:56 +0000 (19:41 +0900)
commit1c54b6d3ec457968a6180176f490066131124468
tree725026675d20901f557046e1441d2b4039968d04
parent7e8d18be4692002cbaf04fbc7f0b47dd90b375ef
elementary: fix memory leaks when using elm_prefs

"regex" is heap-allocated and is not handled by regfree().
We must explicitely call free() after a regfree() to remove
the regex_t from memory.

Change-Id: Ib278f4bd49b6246b7d6eaf7f646dd1c36aca4419
Author: Jean Guyomarc'h <jean@guyomarch.bzh>
Date:   Fri Aug 12 16:36:12 2016 +0200
src/modules/prefs/elm_entry.c