diff --git a/src/icon.c b/src/icon.c index 2701a27..d07e8ea 100644 --- a/src/icon.c +++ b/src/icon.c @@ -175,6 +175,7 @@ GdkPixbuf *get_pixbuf_from_file(const char *filename) if (!gdk_pixbuf_get_file_info (path, &w, &h)) { LOG_W("Failed to load image info for %s", filename); + g_free(path); g_error_free(error); return NULL; }