emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 73b0901: * src/gfilenotify.c (Fgfile_add_watch): Cl


From: Michael Albinus
Subject: [Emacs-diffs] master 73b0901: * src/gfilenotify.c (Fgfile_add_watch): Cleanup temporary variable.
Date: Sun, 27 Sep 2015 18:16:16 +0000

branch: master
commit 73b0901ce0463fef23466f8c590c2db0f6ad3eb2
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    * src/gfilenotify.c (Fgfile_add_watch): Cleanup temporary variable.
---
 src/gfilenotify.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gfilenotify.c b/src/gfilenotify.c
index 8b6b0a0..69f635d 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];



reply via email to

[Prev in Thread] Current Thread [Next in Thread]