This is an automated email from Gerrit.

Spencer Oliver ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/2382

-- gerrit

commit e3b8497d8db7af9780fd904181b6c7688b8484b6
Author: Spencer Oliver <[email protected]>
Date:   Fri Nov 14 09:23:12 2014 +0000

    rtos: free gdb packet allocated memory
    
    compile tested only.
    
    Change-Id: I3bc06c212967a3ce44a875f802b554c178537d1d
    Signed-off-by: Spencer Oliver <[email protected]>

diff --git a/src/rtos/linux.c b/src/rtos/linux.c
index 9021d8c..7657bb5 100644
--- a/src/rtos/linux.c
+++ b/src/rtos/linux.c
@@ -1149,6 +1149,7 @@ int linux_gdb_thread_packet(struct target *target,
        }
 
        gdb_put_packet(connection, out_str, strlen(out_str));
+       free(out_str);
        return ERROR_OK;
 }
 

-- 

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to