Fix invalid reads/writes when hiding widget in Finch

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

Information

libgnt/libgnt
release-2.x.y
658c31365bda

Reviewers

Fix invalid reads/writes when hiding widget in Finch

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

Description From Last Updated

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

grimgrim
grim
grim
  1. 
      
  2. gntwidget.c (Diff revision 1)
     
     
    Show all issues

    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:
Completed