Fix crash when closing profile buffers.

master
Håvard Pettersson 8 years ago
parent 4ff7abb641
commit 8225fbdd81

@ -126,7 +126,7 @@ int
twc_profile_buffer_close_callback(const void *pointer, void *data,
struct t_gui_buffer *buffer)
{
struct t_twc_profile *profile = data;
struct t_twc_profile *profile = (void *)pointer;
profile->buffer = NULL;
twc_profile_unload(profile);

Loading…
Cancel
Save