shiyilei / protobuf-c

Automatically exported from code.google.com/p/protobuf-c
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Memory Leak in protobuf_c_message_unpack on TI MSP430 microprocessor #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The FREE function is never called inside of "protobuf_c_message_unpack" when 
unpacking a protocol buffer, causing a memory leak. I am debugging using IAR 
Embedded Workbench and programming a TI MSP430F247.

Original issue reported on code.google.com by Greg.Ne...@gmail.com on 5 Jan 2010 at 10:13

GoogleCodeExporter commented 8 years ago
Are you calling protobuf_c_message_free_unpacked() (or more likely,  
your__message__free_unpacked()) ?

Extensive leak testing has been done for a long time... this bug must be user 
error.  
Reopen if you want to bother to attach an example program.

Original comment by lahike...@gmail.com on 24 Jan 2010 at 5:04