rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=bb6dbf0f0375edb5956d6676055ff8d599df0db7
commit bb6dbf0f0375edb5956d6676055ff8d599df0db7 Author: Andrii Kroitor <[email protected]> Date: Mon Nov 9 18:32:40 2015 +0200 validator: fix CID 85129 --- src/bin/common/validator.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/common/validator.c b/src/bin/common/validator.c index 1044cca..c57ff70 100644 --- a/src/bin/common/validator.c +++ b/src/bin/common/validator.c @@ -17,6 +17,7 @@ * along with this program; If not, see www.gnu.org/licenses/lgpl.html. */ #include "validator.h" +#include "alloc.h" #include <regex.h> struct _Resource_Name_Validator @@ -54,7 +55,7 @@ resource_name_validator_new(const char *pattern, const char *sig) assert(pattern != NULL); - validator = calloc(1, sizeof(Resource_Name_Validator)); + validator = mem_calloc(1, sizeof(Resource_Name_Validator)); validator->signal = eina_stringshare_add(sig ? sig : "default"); validator->status = regcomp(&validator->regex, pattern, REG_EXTENDED | REG_NOSUB) ? ELM_REG_BADPAT : ELM_REG_NOERROR; --
