gnome-menus r693 - in trunk: . libmenu
- From: vuntz svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-menus r693 - in trunk: . libmenu
- Date: Fri, 15 Jun 2007 21:13:25 +0100 (BST)
Author: vuntz
Date: 2007-06-15 21:13:24 +0100 (Fri, 15 Jun 2007)
New Revision: 693
ViewCVS link: http://svn.gnome.org/viewcvs/gnome-menus?rev=693&view=rev
Modified:
trunk/ChangeLog
trunk/libmenu/menu-monitor-inotify.c
Log:
2007-06-15 Vincent Untz <vuntz gnome org>
Fix crash with inotify backend happening when ~/.config/menus is
created (in fact, when there are more than one creation_monitors for a
given watch). Bug #422966.
* libmenu/menu-monitor-inotify.c: (handle_inotify_event): remove the
monitor from creation_monitors only if we couldn't add the monitor. If
we succeed in creating it, it'll get remove later, in remove_watch().
(remove_watch): free watch
(remove_watch_foreach): free watch
(close_inotify): destroy the path_to_watch hash table
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]