Changeset 16439 for trunk/Ohana/src/opihi/lib.shell/CommandOps.c
- Timestamp:
- Feb 13, 2008, 3:26:32 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/lib.shell/CommandOps.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/CommandOps.c
r16040 r16439 14 14 Ncommands = 0; 15 15 ALLOCATE (commands, Command, NCOMMANDS); 16 } 17 18 void FreeCommands () { 19 int i; 20 21 for (i = 0; i < Ncommands; i++) { 22 if (commands[i].real) continue; 23 free (commands[i].name); 24 free (commands[i].help); 25 } 26 free (commands); 16 27 } 17 28
Note:
See TracChangeset
for help on using the changeset viewer.
