Blender Git Commit Log

Git Commits -> Revision cb9c0aa

Revision cb9c0aa by Peter Kim (master)
August 25, 2021, 11:57 (GMT)
Fix: XR action map memory leaks

This fixes two memory leaks related to XR action maps.

1. Freeing of action maps needs to be moved from wm_xr_exit() to
wm_xr_runtime_data_free() since the runtime may have already been
freed when calling wm_xr_exit().

2. Action bindings for action map items were not being freed. This
was mistakenly left out of e844e9e8f3bb since the patch needed to be
updated after d3d4be1db3a0.

Commit Details:

Full Hash: cb9c0aa7d02e1b505b9af5d79e8603f70471e9ab
Parent Commit: a34652d
Lines Changed: +12, -5

2 Modified Paths:

/source/blender/windowmanager/xr/intern/wm_xr.c (+3, -1) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_actionmap.c (+9, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021