Click here to Skip to main content
15,910,872 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: memory leak in the code? Pin
Eytukan5-Jan-08 23:04
Eytukan5-Jan-08 23:04 
GeneralRe: memory leak in the code? Pin
pierre_ribery5-Jan-08 23:16
pierre_ribery5-Jan-08 23:16 
GeneralRe: memory leak in the code? Pin
George_George6-Jan-08 2:43
George_George6-Jan-08 2:43 
GeneralRe: memory leak in the code? Pin
Hamid_RT6-Jan-08 5:16
Hamid_RT6-Jan-08 5:16 
GeneralRe: memory leak in the code? Pin
George_George6-Jan-08 20:42
George_George6-Jan-08 20:42 
GeneralRe: memory leak in the code? Pin
Hamid_RT6-Jan-08 21:10
Hamid_RT6-Jan-08 21:10 
GeneralRe: memory leak in the code? Pin
George_George6-Jan-08 21:13
George_George6-Jan-08 21:13 
GeneralRe: memory leak in the code? Pin
Hamid_RT7-Jan-08 5:26
Hamid_RT7-Jan-08 5:26 
Well its simple you know some actions will be problem and you can anticipate them a short list like:
(1) When you want to read a file or write a file:1-does file exist 2-does this file open with other programs 3- can you write to a file on the cd or no,does file on the floppy drive and does it write-protected or no
(2) Database do you have access to database
(3) when you need to a handle to a window does return value valid or its null
(4) Picture does file a image file or no what was return value
(5) when you want to read of internet do you have any connection to internet
(6) do you have a valid pointer or its null
(7) Dynamic memory,does it valid
(8)....
------------------------------
After all of them you must free memory. Wink | ;)
GeneralRe: memory leak in the code? Pin
George_George7-Jan-08 18:35
George_George7-Jan-08 18:35 
GeneralRe: memory leak in the code? Pin
Hamid_RT7-Jan-08 19:46
Hamid_RT7-Jan-08 19:46 
GeneralRe: memory leak in the code? Pin
George_George7-Jan-08 20:33
George_George7-Jan-08 20:33 
GeneralRe: memory leak in the code? Pin
Hamid_RT7-Jan-08 23:20
Hamid_RT7-Jan-08 23:20 
GeneralRe: memory leak in the code? Pin
Hamid_RT10-Jan-08 5:35
Hamid_RT10-Jan-08 5:35 
GeneralRe: memory leak in the code? Pin
George_George10-Jan-08 18:12
George_George10-Jan-08 18:12 
GeneralRe: memory leak in the code? Pin
Hamid_RT10-Jan-08 19:58
Hamid_RT10-Jan-08 19:58 
GeneralRe: memory leak in the code? Pin
George_George10-Jan-08 20:00
George_George10-Jan-08 20:00 
GeneralRe: memory leak in the code? Pin
Hamid_RT10-Jan-08 20:49
Hamid_RT10-Jan-08 20:49 
GeneralRe: memory leak in the code? Pin
George_George10-Jan-08 20:52
George_George10-Jan-08 20:52 
GeneralRe: memory leak in the code? Pin
Hamid_RT10-Jan-08 21:15
Hamid_RT10-Jan-08 21:15 
GeneralRe: memory leak in the code? Pin
George_George11-Jan-08 2:03
George_George11-Jan-08 2:03 
GeneralRe: memory leak in the code? Pin
Hamid_RT11-Jan-08 5:05
Hamid_RT11-Jan-08 5:05 
GeneralRe: memory leak in the code? Pin
George_George12-Jan-08 3:58
George_George12-Jan-08 3:58 
GeneralRe: memory leak in the code? Pin
Hamid_RT12-Jan-08 7:38
Hamid_RT12-Jan-08 7:38 
GeneralRe: memory leak in the code? Pin
George_George12-Jan-08 20:05
George_George12-Jan-08 20:05 
GeneralRe: memory leak in the code? Pin
Hamid_RT12-Jan-08 20:25
Hamid_RT12-Jan-08 20:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.