projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8380b89
)
main: Don't leak temporary texture rows
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 1 Sep 2014 08:33:36 +0000
(
01:33
-0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 2 Sep 2014 22:50:27 +0000
(15:50 -0700)
Reviewed-by: Dave Airlie <airlied@gmail.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/main/texstore.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texstore.c
b/src/mesa/main/texstore.c
index d2aba8ba1e30ae40a578d556933817bac148ca2e..f913e42d31564e4efdd789c98310dacf3b1bdf51 100644
(file)
--- 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;
}