summaryrefslogtreecommitdiff
path: root/src/gfilenotify.c
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2015-09-27 20:16:06 +0200
committerMichael Albinus <michael.albinus@gmx.de>2015-09-27 20:16:06 +0200
commit73b0901ce0463fef23466f8c590c2db0f6ad3eb2 (patch)
treefbc58d4fdf37fc383b5f0137d89a8d1fd3be831e /src/gfilenotify.c
parenteb2a40e1f0ae5d5acac2dba7b4b4c7dadfc07571 (diff)
downloademacs-73b0901ce0463fef23466f8c590c2db0f6ad3eb2.tar.gz
* src/gfilenotify.c (Fgfile_add_watch): Cleanup temporary variable.
Diffstat (limited to 'src/gfilenotify.c')
-rw-r--r--src/gfilenotify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gfilenotify.c b/src/gfilenotify.c
index 8b6b0a0cd2d..69f635d4115 100644
--- a/src/gfilenotify.c
+++ b/src/gfilenotify.c
@@ -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];