From 7758a418518bb4af0aa20bab0bbd360658d2fbc7 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sun, 17 Apr 2011 20:42:47 +0200 Subject: Use mem_free() instead of xfree() in check_time(). xfree() should never be used directly and only be called by one of the mem_*() wrappers. Signed-off-by: Lukas Fleischer --- src/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/utils.c b/src/utils.c index 22c5be9..d93c827 100644 --- a/src/utils.c +++ b/src/utils.c @@ -594,7 +594,7 @@ check_time (char *string) else if (strlen(s) < 4 && is_all_digit(s) && atoi(s) > 0) ret = 2; - xfree(s); + mem_free(s); return ret; } -- cgit v1.2.3