diff options
author | axel <axel@liljencrantz.se> | 2005-09-25 05:31:17 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-09-25 05:31:17 +1000 |
commit | f643a4e2007c547c0e224f35a5e10d2bf46ab489 (patch) | |
tree | 785a064b16021f4b86c3b837f627b57b8d67a74d /proc.c | |
parent | 62f3b442da763ce4b3d1f1b063888bf5c7d5ce74 (diff) |
Fix minor bugs in parser
darcs-hash:20050924193117-ac50b-eb8ecfe4fec3bca6f89356a9079977802eb4a2c8.gz
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -154,12 +154,19 @@ static void free_process( process_t *p ) if( p==0 ) return; + + free_process( p->next ); + debug( 3, L"Free process %ls", p->actual_cmd ); free( p->actual_cmd ); if( p->argv != 0 ) { + debug( 3, L"Process has argument vector" ); for( arg=p->argv; *arg; arg++ ) + { + debug( 3, L"Free argument %ls", *arg ); free( *arg ); + } free(p->argv ); } free( p ); |