Show
Ignore:
Timestamp:
05/04/07 11:42:06 (19 months ago)
Author:
emostar
Message:

closes #1502

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/licq/src/onevent.cpp

    r4526 r4903  
    109109      char szCmd[strlen(m_szCommand) + strlen(szFullParam) + 8]; 
    110110      sprintf(szCmd, "%s %s &", m_szCommand, szFullParam); 
    111       free(szFullParam); 
    112111      system(szCmd); 
    113112    } 
     113 
     114    if (szFullParam) 
     115      free(szFullParam); 
    114116  } 
    115117  pthread_mutex_unlock(&mutex);