Free a temporary buffer used by dsaparam application
[openssl.git] / apps / dsaparam.c
index c12bd7046a87ba2f4afe9524920fef1d33cc4d93..cd2ca4c3f7c9c4518f99970f41b7c1b2f6094481 100644 (file)
@@ -244,6 +244,7 @@ int dsaparam_main(int argc, char **argv)
                             "        return NULL;\n"
                             "    }\n"
                             "    return(dsa);\n}\n");
+        OPENSSL_free(data);
     }
 
     if (!noout) {