summaryrefslogtreecommitdiff
path: root/src/imlib.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-05-04 18:30:39 +0200
committerDaniel Friesel <derf@finalrewind.org>2014-05-04 18:30:39 +0200
commitc7d0afa8cde1d351cedc09c111b0f872fbcae15e (patch)
tree5f6ba9fbbae5aca88cf5b35905c77e6a1b91c746 /src/imlib.c
parent48804d10fe82c3b5d871187858312aa2bcbed510 (diff)
import partial giblib source into feh, do not link with giblib
Diffstat (limited to 'src/imlib.c')
-rw-r--r--src/imlib.c4
1 files changed, 2 insertions, 2 deletions
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);
}