User Tools

Site Tools


cplusplus:pointers_4_slides

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
cplusplus:pointers_4_slides [2021/10/24 02:56] – [Memory management of dynamically allocated storage] mithatcplusplus:pointers_4_slides [2021/10/24 02:57] – [Memory leaks] mithat
Line 184: Line 184:
   * Memory leaks, no matter how small, are bad programming practice.   * Memory leaks, no matter how small, are bad programming practice.
   * Can be fixed by the proper use of **deallocation**: releasing back to the OS storage that was previously dynamically allocated.    * Can be fixed by the proper use of **deallocation**: releasing back to the OS storage that was previously dynamically allocated. 
-  * Deallocation of dynamically allocated storage does not happen automatically.+  * **Deallocation of dynamically allocated storage does not happen automatically.**
     * You must explicitly (i.e., manually) deallocate the memory.     * You must explicitly (i.e., manually) deallocate the memory.
  
cplusplus/pointers_4_slides.txt · Last modified: 2021/10/24 03:02 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki