Changeset 64fa9e for pcp/src/opt.c
- Timestamp:
- Apr 21, 2008, 2:19:24 PM (17 years ago)
- Children:
- e00f47
- Parents:
- 32de28
- git-author:
- Frederik Heber <heber@…> (04/18/08 14:51:49)
- git-committer:
- Frederik Heber <heber@…> (04/21/08 14:19:24)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pcp/src/opt.c
r32de28 r64fa9e 29 29 */ 30 30 static void FreeDebugStr(void) { 31 if (DebugString) Free(DebugString );32 if (program_name) Free(program_name );31 if (DebugString) Free(DebugString, "FreeDebugStr: DebugString"); 32 if (program_name) Free(program_name, "FreeDebugStr: program_name"); 33 33 } 34 34 … … 68 68 break; 69 69 case 'd': 70 if (DebugString) Free(DebugString );70 if (DebugString) Free(DebugString, "GetOptions: DebugString"); 71 71 Call->debug = 1; 72 72 DebugString = (char *)Malloc(strlen(optarg)+1, "GetOptions"); … … 74 74 break; 75 75 case 'D': 76 if (DebugString) Free(DebugString );76 if (DebugString) Free(DebugString, "GetOptions: DebugString"); 77 77 DebugString = (char *)Malloc(strlen(optarg)+1, "GetOptions"); 78 78 strcpy(DebugString, optarg);
Note:
See TracChangeset
for help on using the changeset viewer.