gnome-menus r708 - in branches/gnome-2-18: . libmenu



Author: vuntz
Date: 2007-07-02 18:14:37 +0100 (Mon, 02 Jul 2007)
New Revision: 708
ViewCVS link: http://svn.gnome.org/viewcvs/gnome-menus?rev=708&view=rev

Modified:
   branches/gnome-2-18/ChangeLog
   branches/gnome-2-18/libmenu/menu-monitor-inotify.c
Log:
2007-07-02  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]