diff options
author | Jason Ekstrand <[email protected]> | 2014-09-01 01:33:36 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2014-09-02 15:50:27 -0700 |
commit | 454aab45ef382c0a3e262c8b417ecc846881c1e9 (patch) | |
tree | 50cf8397a8767caca3e24c9ad3b3c6cd5957783c /src/mesa/main/texstore.c | |
parent | 8380b894ad26f427c85fefadd4a9245bde3bca7e (diff) |
main: Don't leak temporary texture rows
Reviewed-by: Dave Airlie <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/main/texstore.c')
-rw-r--r-- | src/mesa/main/texstore.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index d2aba8ba1e3..f913e42d315 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore.c @@ -1634,6 +1634,8 @@ texstore_via_float(TEXSTORE_PARAMS) } } + free(tmp_row); + return GL_TRUE; } @@ -1702,6 +1704,8 @@ texstore_rgba_integer(TEXSTORE_PARAMS) } } + free(tmp_row); + return GL_TRUE; } |