From: Jason Ekstrand Date: Mon, 1 Sep 2014 08:33:36 +0000 (-0700) Subject: main: Don't leak temporary texture rows X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=454aab45ef382c0a3e262c8b417ecc846881c1e9;p=mesa.git main: Don't leak temporary texture rows Reviewed-by: Dave Airlie Reviewed-by: Anuj Phogat --- 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; }