Changeset 1099


Ignore:
Timestamp:
03/21/11 02:57:21 (2 years ago)
Author:
reyalP
Message:

free ptp script messages after printing in ptpcam

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/reyalp-ptp/tools/ptpcam/ptp.c

    r1098 r1099  
    21622162    } 
    21632163    if(msg->type == PTP_CHDK_S_MSGTYPE_NONE) { 
     2164        free(msg); 
    21642165//      printf("no more messages\n"); 
    21652166      break; 
     
    21722173*/ 
    21732174    ptp_chdk_print_script_message(msg); 
     2175    free(msg); 
    21742176  } 
    21752177  return 1; 
Note: See TracChangeset for help on using the changeset viewer.