Fix memory leak in wxDataViewChoiceRenderer on GTK
| ... | ... | @@ -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