Blender Git Commit Log
Git Commits -> Revision 64660b9
Revision 64660b9 by Campbell Barton (master) April 13, 2017, 03:37 (GMT) |
Use 'safe' macros for common free operation Same as MEM_SAFE_FREE macro, checks for NULL, runs free then sets NULL. Blocks of code that do this many times are noisy and likely errors here wouldn't be noticed immediately. Also NULL's static vars which were being left set. |
Commit Details:
Full Hash: 64660b902c3fb52fe5a3cb5bf232f90283db8732
Parent Commit: c080702
Lines Changed: +139, -190
23 Modified Paths:
/intern/gawain/gawain/batch.h (+16, -0) (Diff)
/intern/gawain/gawain/element.h (+10, -0) (Diff)
/intern/gawain/gawain/vertex_buffer.h (+10, -0) (Diff)
/source/blender/blenkernel/intern/mesh_render.c (+18, -33) (Diff)
/source/blender/draw/engines/clay/clay.c (+4, -12) (Diff)
/source/blender/draw/engines/eevee/eevee.c (+5, -10) (Diff)
/source/blender/draw/engines/eevee/eevee_lights.c (+3, -12) (Diff)
/source/blender/draw/intern/draw_cache.c (+33, -66) (Diff)
/source/blender/draw/intern/draw_manager.c (+1, -3) (Diff)
/source/blender/draw/intern/DRW_render.h (+12, -0) (Diff)
/source/blender/draw/modes/edit_curve_mode.c (+1, -2) (Diff)
/source/blender/draw/modes/edit_lattice_mode.c (+1, -2) (Diff)
/source/blender/draw/modes/edit_mesh_mode.c (+12, -24) (Diff)
/source/blender/draw/modes/edit_metaball_mode.c (+1, -2) (Diff)
/source/blender/draw/modes/edit_surface_mode.c (+1, -2) (Diff)
/source/blender/draw/modes/edit_text_mode.c (+1, -2) (Diff)
/source/blender/draw/modes/object_mode.c (+4, -8) (Diff)
/source/blender/draw/modes/paint_texture_mode.c (+1, -2) (Diff)
/source/blender/draw/modes/paint_vertex_mode.c (+1, -2) (Diff)
/source/blender/draw/modes/paint_weight_mode.c (+1, -2) (Diff)
/source/blender/draw/modes/particle_mode.c (+1, -2) (Diff)
/source/blender/draw/modes/pose_mode.c (+1, -2) (Diff)
/source/blender/draw/modes/sculpt_mode.c (+1, -2) (Diff)
/intern/gawain/gawain/element.h (+10, -0) (Diff)
/intern/gawain/gawain/vertex_buffer.h (+10, -0) (Diff)
/source/blender/blenkernel/intern/mesh_render.c (+18, -33) (Diff)
/source/blender/draw/engines/clay/clay.c (+4, -12) (Diff)
/source/blender/draw/engines/eevee/eevee.c (+5, -10) (Diff)
/source/blender/draw/engines/eevee/eevee_lights.c (+3, -12) (Diff)
/source/blender/draw/intern/draw_cache.c (+33, -66) (Diff)
/source/blender/draw/intern/draw_manager.c (+1, -3) (Diff)
/source/blender/draw/intern/DRW_render.h (+12, -0) (Diff)
/source/blender/draw/modes/edit_curve_mode.c (+1, -2) (Diff)
/source/blender/draw/modes/edit_lattice_mode.c (+1, -2) (Diff)
/source/blender/draw/modes/edit_mesh_mode.c (+12, -24) (Diff)
/source/blender/draw/modes/edit_metaball_mode.c (+1, -2) (Diff)
/source/blender/draw/modes/edit_surface_mode.c (+1, -2) (Diff)
/source/blender/draw/modes/edit_text_mode.c (+1, -2) (Diff)
/source/blender/draw/modes/object_mode.c (+4, -8) (Diff)
/source/blender/draw/modes/paint_texture_mode.c (+1, -2) (Diff)
/source/blender/draw/modes/paint_vertex_mode.c (+1, -2) (Diff)
/source/blender/draw/modes/paint_weight_mode.c (+1, -2) (Diff)
/source/blender/draw/modes/particle_mode.c (+1, -2) (Diff)
/source/blender/draw/modes/pose_mode.c (+1, -2) (Diff)
/source/blender/draw/modes/sculpt_mode.c (+1, -2) (Diff)