Mesa (mesa_7_6_branch): progs/demos: Fix memory leak in projtex.c.

Vinson Lee vlee at kemper.freedesktop.org
Mon Dec 7 12:32:16 PST 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: 7d84169865f5907a02ff2283ca7bd45a3bb2f3c9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d84169865f5907a02ff2283ca7bd45a3bb2f3c9

Author: Vinson Lee <vlee at vmware.com>
Date:   Mon Dec  7 12:31:08 2009 -0800

progs/demos: Fix memory leak in projtex.c.

---

 progs/demos/projtex.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/progs/demos/projtex.c b/progs/demos/projtex.c
index ad205c7..503cf5d 100644
--- a/progs/demos/projtex.c
+++ b/progs/demos/projtex.c
@@ -248,6 +248,7 @@ loadImageTextures(void)
 
      free(texData3);
      free(texData4);
+     free(image);
   }
 }
 



More information about the mesa-commit mailing list