Fix small memory leak in error code path.
This commit is contained in:
parent
14f6b9fb03
commit
561dff70d0
|
@ -196,6 +196,8 @@ wrong name.
|
|||
28. Implemented pcre2_code_copy_with_tables(), and added pushtablescopy to
|
||||
pcre2test for testing it.
|
||||
|
||||
29. Fix small memory leak in pcre2test.
|
||||
|
||||
|
||||
Version 10.22 29-July-2016
|
||||
--------------------------
|
||||
|
|
|
@ -4494,6 +4494,7 @@ switch(cmd)
|
|||
if (fread(serial, 1, serial_size, f) != serial_size)
|
||||
{
|
||||
fprintf(outfile, "** Wrong return from fread()\n");
|
||||
free(serial);
|
||||
return PR_ABEND;
|
||||
}
|
||||
fclose(f);
|
||||
|
|
Loading…
Reference in New Issue