diff --git a/src/nwipe.c b/src/nwipe.c index 6650720..e00f890 100644 --- a/src/nwipe.c +++ b/src/nwipe.c @@ -145,6 +145,7 @@ int main( int argc, char** argv ) nwipe_perror( errno, __FUNCTION__, "open" ); nwipe_log( NWIPE_LOG_FATAL, "Unable to open entropy source %s.", NWIPE_KNOB_ENTROPY ); cleanup(); + free( c2 ); return errno; }