diff --git a/cmdgen.c b/cmdgen.c index 171214fc..5a52b317 100644 --- a/cmdgen.c +++ b/cmdgen.c @@ -817,6 +817,7 @@ int main(int argc, char **argv) bits = -1; } else { strbuf_free(ssh2blob); + ssh2blob = NULL; } sfree(ssh2alg); } else {