diff pidgin/plugins/crazychat/glm.c @ 28137:da33da2e1a1e

Fix a bunch of memory leaks reported by Josh Mueller. Refs #9822.
author Paul Aurich <paul@darkrain42.org>
date Sun, 02 Aug 2009 05:04:41 +0000
parents 5fe8042783c1
children a8cc50c2279f
line wrap: on
line diff
--- a/pidgin/plugins/crazychat/glm.c	Sun Aug 02 04:33:26 2009 +0000
+++ b/pidgin/plugins/crazychat/glm.c	Sun Aug 02 05:04:41 2009 +0000
@@ -543,6 +543,8 @@
     fprintf(file, "Ns %f\n", material->shininess / 128.0 * 1000.0);
     fprintf(file, "\n");
   }
+
+  fclose(file);
 }