channels/cliprdr: fix cliprdr_process_format_data_response callback usage

This commit is contained in:
Marc-André Moreau 2014-04-21 15:48:29 -04:00
parent 784e9abd79
commit 9b01663e9d

View File

@ -481,8 +481,8 @@ void cliprdr_process_format_data_response(cliprdrPlugin* cliprdr, wStream* s, UI
Stream_Read(s, formatDataResponse.requestedFormatData, dataLen);
}
if (context->ClientFormatDataResponse)
context->ClientFormatDataResponse(context, &formatDataResponse);
if (context->ServerFormatDataResponse)
context->ServerFormatDataResponse(context, &formatDataResponse);
free(formatDataResponse.requestedFormatData);
}