From 5f4cc6a89bf8cf401d9cc03a2689e0f9a06c5dc8 Mon Sep 17 00:00:00 2001 From: Austin English Date: Tue, 14 Apr 2009 11:25:47 -0500 Subject: [PATCH] wineps.drv: Fix a memory leak. --- dlls/wineps.drv/mkagl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/wineps.drv/mkagl.c b/dlls/wineps.drv/mkagl.c index db789f1b37b..d6aab8a57b2 100644 --- a/dlls/wineps.drv/mkagl.c +++ b/dlls/wineps.drv/mkagl.c @@ -516,5 +516,9 @@ int main(int argc, char *argv[]) triple_space(f_c); write_encoding_by_UV(f_c); + /* Clean up */ + fclose(f_c); + fclose(f_h; + return 0; }