Fix invalid reads/writes when hiding widget in Finch

Review Request #810 — Created July 13, 2021 and submitted

ivanhoe
libgnt/libgnt
release-2.x.y
LIBGNT-13
658c31365bda
pidgin

Fix invalid reads/writes when hiding widget in Finch

ran "steps to reproduce" from LIBGNT-13 without getting invalid reads/writes anymore.

  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
grim
grim
  1. 
      
  2. gntwidget.c (Diff revision 1)
     
     

    this should probably use g_clear_pointer(&obj->window, gnt_widget_hide); instead.

    1. I think it should be delwin instead of gnt_widget_hide.

    2. Yep sorry not sure how I typed that :-D

  3. 
      
ivanhoe
grim
  1. Ship It!
  2. 
      
grim
Review request changed

Status: Closed (submitted)

Loading...