Commit 8e2f090a authored by Sebastian Ramacher's avatar Sebastian Ramacher

Call correct free function

parent 65fbe7da
......@@ -893,7 +893,7 @@ girara_set_window_icon(girara_session_t* session, const char* name)
girara_debug("Loading window icon from file: %s", path);
GError* error = NULL;
gtk_window_set_icon_from_file(window, path, &error);
free(path);
g_free(path);
if (error == NULL) {
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment