Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

Commit

Permalink
Resolve segfault when a configuration error was detected on startup (…
Browse files Browse the repository at this point in the history
…RHBZ #847543)

See https://bugzilla.redhat.com/show_bug.cgi?id=847543 for details and backtrace
  • Loading branch information
epienbroek committed Feb 10, 2013
1 parent 2ec7ee5 commit e55d06f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/mn-server.gob
Expand Up @@ -87,6 +87,11 @@ class MN:Server from G:Object
private gboolean
display_properties (self, GError **err)
{
/* mn_shell can be NULL here when during startup a configuration error was detected.
* See https://bugzilla.redhat.com/show_bug.cgi?id=847543 for details and backtrace */
if (!mn_shell)
return TRUE;

GDK_THREADS_ENTER();
mn_shell_show_properties_dialog(mn_shell, 0);
GDK_THREADS_LEAVE();
Expand Down

0 comments on commit e55d06f

Please sign in to comment.