This is an automated email from the git hooks/post-receive script. b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository apps/parole.
commit b5bf84284eb560a098e755269500eaa916ace919 Author: Sean Davis <[email protected]> Date: Wed Feb 28 19:47:42 2018 -0500 Fix crash on clear history (lp 1214514) --- src/common/parole-rc-utils.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/common/parole-rc-utils.c b/src/common/parole-rc-utils.c index c8c30c6..8414886 100644 --- a/src/common/parole-rc-utils.c +++ b/src/common/parole-rc-utils.c @@ -29,6 +29,7 @@ #include <string.h> #include <glib.h> +#include <glib/gstdio.h> #include "parole-rc-utils.h" @@ -100,9 +101,6 @@ void parole_clear_history_file_full(const gchar *relpath) { history = xfce_resource_save_location(XFCE_RESOURCE_CACHE, relpath, FALSE); if ( history ) { - FILE *f; - f = fopen(history, "w"); - fclose(f); - g_free(history); + g_unlink (history); } } -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list [email protected] https://mail.xfce.org/mailman/listinfo/xfce4-commits
