PATCH: xsettings-manager segfaults if a manager is already running
otaylor at redhat.com
Tue Aug 9 19:04:26 EEST 2005
On Fri, 2005-08-05 at 11:19 -0700, Travis Spencer wrote:
> If the xsettings-manager is already running and the user selects
> `Exit' in the message box, an XSettingsManager object is never
> allocated. As a result, in manager.c when xsettings_manager_destroy
> is called in main, manager will be NULL. Consequently, in that
> function, XDestroyWindow will core when manager is dereferenced. The
> following patch fixes this by returning if manager is NULL.
I think this needs to be fixed in the GTK+ demo code rather than
in the generic xsettings-manager.c code.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/xdg/attachments/20050809/1c098cd1/attachment.pgp
More information about the xdg