diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2014-11-21 19:22:37 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2014-11-21 19:22:37 +0100 |
commit | 412e546bb9a982c2db389c35496bf397e5f25a46 (patch) | |
tree | d40d8f32301dd846438ef015e5aa4e6c8be5fe3c /src/biruda.c | |
parent | 5da03da44b1c2d7693857bda1ce01c644c9aa5f4 (diff) | |
download | biruda-412e546bb9a982c2db389c35496bf397e5f25a46.tar.gz biruda-412e546bb9a982c2db389c35496bf397e5f25a46.tar.bz2 |
fixed double frees
Diffstat (limited to 'src/biruda.c')
-rw-r--r-- | src/biruda.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/biruda.c b/src/biruda.c index ea76b09..f02425e 100644 --- a/src/biruda.c +++ b/src/biruda.c @@ -280,6 +280,7 @@ static void cleanup_worker_names( ) for( int i = 0; i < nof_worker_names; i++ ) { free( worker_names[i] ); } + nof_worker_names = 0; } static void print_error( const char *fmt, ... ); |