Resource leak.
authorBen Laurie <ben@openssl.org>
Wed, 4 Apr 2007 16:00:03 +0000 (16:00 +0000)
committerBen Laurie <ben@openssl.org>
Wed, 4 Apr 2007 16:00:03 +0000 (16:00 +0000)
apps/speed.c

index 9f7de0f67271ac939f845131bcc57023d7d93702..30736c93d3db10bb0800bc238bc7378526971345 100644 (file)
@@ -2658,6 +2658,8 @@ static int do_multi(int multi)
                        else
                                fprintf(stderr,"Unknown type '%s' from child %d\n",buf,n);
                        }
+
+               fclose(f);
                }
        return 1;
        }