Browse Source

NSM: Fix uninitialized value error with client labels.

tags/non-daw-v1.2.0
Jonathan Moore Liles 13 years ago
parent
commit
553db45e8b
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      session-manager/src/nsmd.C

+ 5
- 1
session-manager/src/nsmd.C View File

@@ -127,7 +127,10 @@ public:
{
if ( _label )
free( _label );
_label = strdup( l );
if ( l )
_label = strdup( l );
else
_label = NULL;
}
bool gui_visible ( void ) const
@@ -210,6 +213,7 @@ public:

Client ( )
{
_label = 0;
_gui_visible = true;
addr = 0;
_reply_errcode = 0;


Loading…
Cancel
Save