Update plugins/checksum/checksum.c

Co-authored-by: Patrick <tingping@tingping.se>
This commit is contained in:
Totto 2023-04-05 16:11:21 +02:00 committed by GitHub
parent eac5175ec0
commit cdc5582baf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,7 +166,7 @@ dccoffer_cb (char *word[], void *userdata)
ctx = hexchat_find_context (ph, NULL, NULL);
}
ChecksumCallbackInfo* callback_data= g_malloc(sizeof(ChecksumCallbackInfo));
ChecksumCallbackInfo *callback_data = g_new (ChecksumCallbackInfo, 1);
callback_data->ctx = ctx;
callback_data->send_message = TRUE;