commit c14bbfb37abcbea6227d3be1ec582b9422c57f29 parent 1fe3b4d45f9e4f03f92401f6c771a2cd60047029 Author: Devin J. Pohly <djpohly@gmail.com> Date: Sat, 1 Aug 2020 13:59:21 -0500 shm: remember to free struct on destroy Diffstat:
M | libswc/shm.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/libswc/shm.c b/libswc/shm.c @@ -256,4 +256,5 @@ shm_destroy(struct swc_shm *shm) wl_global_destroy(shm->global); wld_destroy_renderer(shm->renderer); wld_destroy_context(shm->context); + free(shm); }