Fix crash when closing profile buffers.
This commit is contained in:
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…
Reference in New Issue
Block a user