Merge pull request #466 from atong/master

fix rdpsnd leak
This commit is contained in:
Marc-André Moreau 2012-02-27 09:21:27 -08:00
commit a6a7a9f7e9

View File

@ -395,6 +395,7 @@ static void rdpsnd_process_receive(rdpSvcPlugin* plugin, STREAM* data_in)
if (rdpsnd->expectingWave)
{
rdpsnd_process_message_wave(rdpsnd, data_in);
stream_free(data_in);
return;
}
@ -425,6 +426,8 @@ static void rdpsnd_process_receive(rdpSvcPlugin* plugin, STREAM* data_in)
DEBUG_WARN("unknown msgType %d", msgType);
break;
}
stream_free(data_in);
}
static void rdpsnd_register_device_plugin(rdpsndPlugin* rdpsnd, rdpsndDevicePlugin* device)