From c7d0afa8cde1d351cedc09c111b0f872fbcae15e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 4 May 2014 18:30:39 +0200 Subject: import partial giblib source into feh, do not link with giblib --- src/imlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/imlib.c') diff --git a/src/imlib.c b/src/imlib.c index 60cb267..69962ee 100644 --- a/src/imlib.c +++ b/src/imlib.c @@ -162,14 +162,14 @@ void ungib_imlib_save_image_with_error_return(Imlib_Image im, char *file, tmp = strrchr(file, '.'); if (tmp) { char *p, *pp; - p = gib_estrdup(tmp + 1); + p = estrdup(tmp + 1); pp = p; while(*pp) { *pp = tolower(*pp); pp++; } imlib_image_set_format(p); - gib_efree(p); + free(p); } imlib_save_image_with_error_return(file, error_return); } -- cgit v1.2.3