aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core/basetypes/MCMainThreadGTK.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/basetypes/MCMainThreadGTK.cpp b/src/core/basetypes/MCMainThreadGTK.cpp
index fdcca867..13396a52 100644
--- a/src/core/basetypes/MCMainThreadGTK.cpp
+++ b/src/core/basetypes/MCMainThreadGTK.cpp
@@ -71,7 +71,7 @@ static gboolean call_after_delay_wrapper(struct main_thread_call_data * data)
static void call_after_delay_destroy_notify(struct main_thread_call_data * data)
{
- free(data);
+ // Do nothing.
}
void * mailcore::callAfterDelay(void (* function)(void *), void * context, double time)