aboutsummaryrefslogtreecommitdiff
path: root/src/CheckpointRecovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/CheckpointRecovery.c')
-rw-r--r--src/CheckpointRecovery.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/CheckpointRecovery.c b/src/CheckpointRecovery.c
index f9aee40..fb9872a 100644
--- a/src/CheckpointRecovery.c
+++ b/src/CheckpointRecovery.c
@@ -327,10 +327,7 @@ static int IOUtil_RecoverFromFile (cGH *GH,
retval = recover_fn (GH, basefilename, called_from);
}
}
- if (keylen > 0)
- {
- free (key);
- }
+ free (key);
Util_TableItDestroy (ihandle);
return (retval);