diff options
author | root <root@avtech.domain.avtechpulse.com> | 2012-11-30 16:03:38 -0500 |
---|---|---|
committer | root <root@avtech.domain.avtechpulse.com> | 2012-11-30 16:03:38 -0500 |
commit | 04b10a008d3786bc38a4c4c80fb31572db81de1a (patch) | |
tree | abc80f50dff7094db08992002920e2f16fd58825 | |
parent | b49a4e3d3f5e4005c4b1070979b7510011862233 (diff) |
fixed huge mutex memory leak
-rw-r--r-- | menus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -262,7 +262,7 @@ void Show_Main_Menu(void) if (!globals.Sys.startup_complete) return; - GStaticMutex mutex = G_STATIC_MUTEX_INIT; + static GStaticMutex mutex = G_STATIC_MUTEX_INIT; g_static_mutex_lock (&mutex); // can be triggered simultaneously by local or remote users GString *menu_string = g_string_new (""); |