X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=pdf%2Fxpdf%2FParams.cc;h=35adfdfe00ad4b1544e2e51c27acec60caaee6be;hb=e7fa464f61d0d442372b6096295d42a74e08c896;hp=8b6c5083b27050f3edc7b1b68b44315ae00df054;hpb=1e2eb7dcec367363483987cfe528dbb49497579d;p=evince.git diff --git a/pdf/xpdf/Params.cc b/pdf/xpdf/Params.cc index 8b6c5083..35adfdfe 100644 --- a/pdf/xpdf/Params.cc +++ b/pdf/xpdf/Params.cc @@ -73,12 +73,9 @@ void freeParams() { int i; if (fontPath) { - for (i = 0; i < fontPathLen; ++i) { + for (i = 0; i < fontPathLen; ++i) gfree(fontPath[i]); - fontPath[i] = NULL; - } gfree(fontPath); - fontPath = NULL; } if (devFontMap) { for (i = 0; i < devFontMapLen; ++i) {