summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-08-21 19:48:20 +0200
committerGravatar Jonathan Beck2008-08-21 19:48:20 +0200
commitbb496ff039679ad44d2a9dbfb4224b2fcd54c7e2 (patch)
treee0c64ca91c858863056eca47f175adbc97602627
parent842db4ebceb84b3df05f2539bc84e94d77b1768b (diff)
downloadlibimobiledevice-bb496ff039679ad44d2a9dbfb4224b2fcd54c7e2.tar.gz
libimobiledevice-bb496ff039679ad44d2a9dbfb4224b2fcd54c7e2.tar.bz2
remove duplicate free
-rw-r--r--src/AFC.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/AFC.c b/src/AFC.c
index 3cb9939..3985551 100644
--- a/src/AFC.c
+++ b/src/AFC.c
@@ -253,7 +253,6 @@ static int receive_AFC_data(AFClient *client, char **dump_here) {
if (!recv_len && r_packet->operation == AFC_SUCCESS_RESPONSE)
{
*dump_here = NULL;
- free(r_packet);
return 0;
}