Skip to content

display-settings: Fix InputRegion leak

Leak report

736 (32 direct, 704 indirect) bytes in 2 blocks are definitely lost in loss record 12,812 of 13,273
   at 0x484BC13: calloc (vg_replace_malloc.c:1675)
   by 0x552E775: g_malloc0 (gmem.c:133)
   by 0x11B80F: foo_scroll_area_draw (scrollarea.c:454)
   by 0x4B9C521: gtk_widget_draw_internal (gtkwidget.c:7084)
   by 0x498D75F: gtk_container_propagate_draw (gtkcontainer.c:3854)
   by 0x498D81F: gtk_container_draw (gtkcontainer.c:3674)
   by 0x4B9C521: gtk_widget_draw_internal (gtkwidget.c:7084)
   by 0x498D75F: gtk_container_propagate_draw (gtkcontainer.c:3854)
   by 0x498D81F: gtk_container_draw (gtkcontainer.c:3674)
   by 0x4A16FA1: gtk_frame_render (gtkframe.c:776)
[...snip...]

Testing

  • No issues were detected when testing the patch with Valgrind

Merge request reports