From f960da3f4abcc3ee5120475373ad550f410c4353 Mon Sep 17 00:00:00 2001 From: Nick Law Date: Sat, 3 Nov 2018 09:47:43 +0000 Subject: [PATCH] Pointer d undeclared The statment free(d), should not be in nwipe_random_pass(). --- src/pass.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pass.c b/src/pass.c index 7ae7f04..161e397 100644 --- a/src/pass.c +++ b/src/pass.c @@ -285,7 +285,6 @@ int nwipe_random_pass( NWIPE_METHOD_SIGNATURE ) /* This is system insanity. */ nwipe_log( NWIPE_LOG_SANITY, "__FUNCTION__: lseek() returned a bogus offset on '%s'.", c->device_name ); free(b); - free(d); return -1; }