mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2024-12-27 21:58:22 +01:00
Fix one more resource leak found by Coverity.
This commit is contained in:
parent
07b9ce80bb
commit
3a133bd1c0
@ -1398,7 +1398,7 @@ write_text(pdfio_file_t *pdf, // I - PDF file
|
|||||||
if ((st = pdfioFileCreatePage(pdf, dict)) != NULL)
|
if ((st = pdfioFileCreatePage(pdf, dict)) != NULL)
|
||||||
puts("PASS");
|
puts("PASS");
|
||||||
else
|
else
|
||||||
return (1);
|
goto error;
|
||||||
|
|
||||||
// Show the page number
|
// Show the page number
|
||||||
fputs("pdfioContentSetFillColorDeviceGray(0.0): ", stdout);
|
fputs("pdfioContentSetFillColorDeviceGray(0.0): ", stdout);
|
||||||
|
Loading…
Reference in New Issue
Block a user