Dree icon indicating copy to clipboard operation
Dree copied to clipboard

Remove memory leaks

Open vil02 opened this issue 1 year ago • 3 comments

Memory allocated in:

  • https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/main.cpp#L57
  • https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/main.cpp#L61
  • https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/main.cpp#L70
  • https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/main.cpp#L73
  • https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/main.cpp#L80
  • https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/main.cpp#L87
  • https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/main.cpp#L89
  • https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/main.cpp#L92
  • https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/main.cpp#L101
  • https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/main.cpp#L105
  • https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/controller/SearchController.cpp#L13
  • https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/model/DreeLoader.cpp#L12
  • https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/model/DreeLoader.cpp#L33
  • https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/model/SearchDirectory.cpp#L28 is never de-allocated (there is no single use of delete).

vil02 avatar Oct 01 '24 08:10 vil02

I would like to work on this issue @ujjwall-R

supraja777 avatar Oct 02 '24 06:10 supraja777

I would like to work on this issue @ujjwall-R

Go ahead.

ujjwall-R avatar Oct 02 '24 06:10 ujjwall-R

@ujjwall-R is this issue still active?

muhd360 avatar Oct 22 '24 17:10 muhd360