Mesa (master): i965: don't forget to free image_param on prog_data free

Ilia Mirkin imirkin at kemper.freedesktop.org
Fri Oct 2 18:16:18 UTC 2015


Module: Mesa
Branch: master
Commit: 4e0a8e0a50c9ac91cb7a70b92b8d9c6fcc02b7aa
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e0a8e0a50c9ac91cb7a70b92b8d9c6fcc02b7aa

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Thu Oct  1 20:27:06 2015 -0400

i965: don't forget to free image_param on prog_data free

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>

---

 src/mesa/drivers/dri/i965/brw_program.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/brw_program.c b/src/mesa/drivers/dri/i965/brw_program.c
index fee96a8..0e4b823 100644
--- a/src/mesa/drivers/dri/i965/brw_program.c
+++ b/src/mesa/drivers/dri/i965/brw_program.c
@@ -551,6 +551,7 @@ brw_stage_prog_data_free(const void *p)
 
    ralloc_free(prog_data->param);
    ralloc_free(prog_data->pull_param);
+   ralloc_free(prog_data->image_param);
 }
 
 void




More information about the mesa-commit mailing list