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 <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2011-04-17 20:42:47 +02:00
parent cc49f1e262
commit 7758a41851

View File

@ -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;
}