connection: Add missing free from error path
authorRob Bradford <rob@linux.intel.com>
Tue, 9 Oct 2012 17:46:22 +0000 (18:46 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 10 Oct 2012 03:01:42 +0000 (23:01 -0400)
commit6685d1930162b71d04fc3d6796b21a28dc025ab4
treeb6c122a47a14e973a30fdcb6d63574c984853891
parent020170877332f828aaf639ebe5c56d3ff6444511
connection: Add missing free from error path

On the error codepath that errors out on ENOMEM we should free the allocated
closure.

Signed-off-by: Rob Bradford <rob@linux.intel.com>
src/connection.c