[Git][wxwidgets/wxwidgets][master] Fix memory leak in wxDataViewChoiceRenderer on GTK

4 views
Skip to first unread message

Vadim Zeitlin (@_VZ_)

unread,
Mar 31, 2026, 7:03:10 PM (11 days ago) Mar 31
to wx-commi...@googlegroups.com

Vadim Zeitlin pushed to branch master at wxWidgets / wxWidgets

Commits:

  • c456ccb2
    by Paul Cornett at 2026-03-31T15:49:21-07:00
    Fix memory leak in wxDataViewChoiceRenderer on GTK
    

1 changed file:

Changes:

  • src/gtk/dataview.cpp
    ... ... @@ -3010,6 +3010,7 @@ wxDataViewChoiceRenderer::wxDataViewChoiceRenderer( const wxArrayString &choices
    3010 3010
                 "text-column", 0,
    
    3011 3011
                 "has-entry", FALSE,
    
    3012 3012
                 nullptr);
    
    3013
    +    g_object_unref(store);
    
    3013 3014
     
    
    3014 3015
         bool editable = (mode & wxDATAVIEW_CELL_EDITABLE) != 0;
    
    3015 3016
         g_object_set (m_renderer, "editable", editable, nullptr);
    


View it on GitLab.
You're receiving this email because of your account on gitlab.com. Manage all notifications · Help Notification message regarding https://gitlab.com/wxwidgets/wxwidgets/-/commit/c456ccb28f96f536774896b312aca1aa9ebb5b0a at 1774998187

Reply all
Reply to author
Forward
0 new messages