diff options
author | Vinson Lee <[email protected]> | 2009-11-16 16:31:34 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-11-16 16:31:34 -0800 |
commit | ee555e3d69c8820f27e71e5ebc028a768cef7d0b (patch) | |
tree | 8a95b7eb915ce599e9901a243ae3af470f5e0b84 /progs/demos/projtex.c | |
parent | a1afe303deda320aadacdaf5b1c72631ca3f734f (diff) |
progs/demos: Fix memory leak in projtex.c.
Diffstat (limited to 'progs/demos/projtex.c')
-rw-r--r-- | progs/demos/projtex.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/demos/projtex.c b/progs/demos/projtex.c index 99154d7bdc8..ad205c74137 100644 --- a/progs/demos/projtex.c +++ b/progs/demos/projtex.c @@ -245,6 +245,9 @@ loadImageTextures(void) glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); } glTexParameterfv(GL_TEXTURE_2D, GL_TEXTURE_BORDER_COLOR, borderColor); + + free(texData3); + free(texData4); } } |