Commit 73b0901c authored by Michael Albinus's avatar Michael Albinus

* src/gfilenotify.c (Fgfile_add_watch): Cleanup temporary variable.

parent eb2a40e1
......@@ -195,6 +195,7 @@ will be reported only in case of the `moved' event. */)
/* Enable watch. */
monitor = g_file_monitor (gfile, gflags, NULL, &gerror);
g_object_unref (gfile);
if (gerror)
char msg[1024];
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