Changeset 1049 for trunk/dll/notebook.c


Ignore:
Timestamp:
Jul 7, 2008, 6:03:27 AM (17 years ago)
Author:
Gregg Young
Message:

Fix for another memory leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/notebook.c

    r1041 r1049  
    223223        NormalizeCmdLine(pszWorkBuf, szCLBuf);
    224224        memcpy(virus, pszWorkBuf, strlen(pszWorkBuf) + 1);
    225         free(pszWorkBuf);
    226         free(szCLBuf);
    227225        if (!strchr(virus, '%') && strlen(virus) > 3)
    228226          strcat(virus, " %p");
    229227      }
     228      free(pszWorkBuf);
     229      free(szCLBuf);
    230230      if (!*virus)
    231231        strcpy(virus, "OS2SCAN.EXE %p /SUB /A");
Note: See TracChangeset for help on using the changeset viewer.