diff options
author | Michael Catanzaro <mcatanzaro@igalia.com> | 2019-06-19 12:46:37 -0500 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@igalia.com> | 2019-06-19 12:47:09 -0500 |
commit | bd597f5804e7e35c1aca1bec988ea97e4d8b5c8a (patch) | |
tree | 7bd0a8fa4c7a9e00e69f6ec8e2393169f7dc725a /lib | |
parent | ddcbad26c8ff00b2f4586bde08a891d15e6e4cb0 (diff) | |
download | epiphany-bd597f5804e7e35c1aca1bec988ea97e4d8b5c8a.tar.gz |
web-app-utils: Fix crash when web app profile lacks .app file
We free with the wrong free function
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ephy-web-app-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ephy-web-app-utils.c b/lib/ephy-web-app-utils.c index 0db4955b8..cab7a1185 100644 --- a/lib/ephy-web-app-utils.c +++ b/lib/ephy-web-app-utils.c @@ -627,7 +627,7 @@ ephy_web_application_get_application_list_internal (gboolean only_legacy) if (g_file_test (app_file, G_FILE_TEST_EXISTS)) applications = g_list_prepend (applications, app); else - g_object_unref (app); + g_free (app); } else applications = g_list_prepend (applications, app); } |