ext/reot/reot.cpp in reot-0.0.2 vs ext/reot/reot.cpp in reot-0.0.3
- old
+ new
@@ -65,10 +65,14 @@
} while (true);
if (getEOTHeader(fontData, fontSize, eotHeader, overlayDst, overlaySrc, overlayLength)) {
fwrite(&eotHeader[0], eotHeader.size(), 1, output);
fwrite(fontData, fontSize, 1, output);
+ fclose(output);
+ fclose(input);
return Qtrue;
} else {
+ fclose(output);
+ fclose(input);
return Qfalse;
}
}