Show
Ignore:
Timestamp:
05/10/07 15:04:10 (2 years ago)
Author:
aronb
Message:

Fix a few memory leaks.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/branches/2.2/modules/gadgeteer/gadget/Node.cpp

    r20010 r20200  
    422422   new_packet->parse( reader ); 
    423423 
     424   delete reader; 
     425 
    424426   //NOTE: incoming_data goes out of scope here which means that we are left with only the data that we parsed. 
    425427   //TODO: We could save memory by not parsing the raw DataPacket but just passing the location of the memory that we want to use.