diff options
Diffstat (limited to 'src/gfilenotify.c')
-rw-r--r-- | src/gfilenotify.c | 1 |
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]; |