Changeset 16447 for trunk/Ohana/src/opihi/lib.shell/variable.c
- Timestamp:
- Feb 13, 2008, 3:28:32 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/lib.shell/variable.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/variable.c
r11084 r16447 7 7 Nvariables = 0; 8 8 ALLOCATE (variables, Variable, 1); 9 } 10 11 void FreeVariables () { 12 13 int i; 14 15 for (i = 0; i < Nvariables; i++) { 16 free (variables[i].name); 17 free (variables[i].value); 18 } 19 free (variables); 9 20 } 10 21
Note:
See TracChangeset
for help on using the changeset viewer.
