Changes between Version 18 and Version 19 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Comm/CCommSerial


Ignore:
Timestamp:
01/23/24 11:24:45 (10 months ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/Comm/CCommSerial

    v18 v19  
    4444}}}
    4545
    46 **NOTE** When "new" is used to instantiate an object be sure to "free" the memory when the use of the object is complete. Otherwise a memory leak will occur and the 825 may run out of memory.
     46**NOTE** When "new" is used to instantiate an object be sure to "delete" the memory when the use of the object is complete. Otherwise a memory leak will occur and the 825 may run out of memory.
    4747
    4848{{{
    4949  pSerial->Close();
    50   free(pSerial);
     50  delete pSerial;
    5151  pSerial = NULL; // Good practice to set pointer to NULL after free
    5252}}}