diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-23 07:25:48 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-23 07:25:48 +0000 |
commit | e2b923657caff029ec18b5b9a0e5f490b9acf374 (patch) | |
tree | 03dc9f9ea7f6fc3ee45337af6887b8476f1fd910 /main/usbredir/usbredirtestclient-Fix-a-memory-leak.patch | |
parent | aae0e965caf8a5da08003b14a735b34b15735daf (diff) | |
download | aports-e2b923657caff029ec18b5b9a0e5f490b9acf374.tar.bz2 aports-e2b923657caff029ec18b5b9a0e5f490b9acf374.tar.xz |
main/usbredir: add some patches from upstream
Diffstat (limited to 'main/usbredir/usbredirtestclient-Fix-a-memory-leak.patch')
-rw-r--r-- | main/usbredir/usbredirtestclient-Fix-a-memory-leak.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/usbredir/usbredirtestclient-Fix-a-memory-leak.patch b/main/usbredir/usbredirtestclient-Fix-a-memory-leak.patch new file mode 100644 index 0000000000..a49293b09e --- /dev/null +++ b/main/usbredir/usbredirtestclient-Fix-a-memory-leak.patch @@ -0,0 +1,22 @@ +From bcb6db72d481965bcfdd890d338b54b0f502a486 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= <fidencio@redhat.com> +Date: Fri, 18 Jul 2014 17:27:09 +0200 +Subject: usbredirtestclient: Fix a memory leak + +Signed-off-by: Hans de Goede <hdegoede@redhat.com> + +diff --git a/usbredirtestclient/usbredirtestclient.c b/usbredirtestclient/usbredirtestclient.c +index 42b16dc..9546b30 100644 +--- a/usbredirtestclient/usbredirtestclient.c ++++ b/usbredirtestclient/usbredirtestclient.c +@@ -404,6 +404,7 @@ static int usbredirtestclient_cmdline_ctrl(void) + } + usbredirparser_send_control_packet(parser, id, &control_packet, + data, data_len); ++ free(data); + printf("Send control packet with id: %u\n", id); + id++; + return 1; +-- +cgit v0.10.2 + |