Daniel Marjamäki
|
6923a09001
|
memory leaks: minor cleanups
|
2009-10-08 22:30:33 +02:00 |
Daniel Marjamäki
|
b95f0eaa41
|
optimisation: made the memory leaks checking faster
|
2009-10-08 20:49:27 +02:00 |
Reijo Tomperi
|
8472e58413
|
Refactored sizeof simplification and fixed one TODO assert.
|
2009-10-07 10:54:34 +03:00 |
Reijo Tomperi
|
ab762b1a00
|
Fix #388 (resource leak not detected, allocation through function call)
http://sourceforge.net/apps/trac/cppcheck/ticket/388
|
2009-10-06 23:14:32 +03:00 |
Daniel Marjamäki
|
36fb24b1a5
|
memory leaks: don't write errors for static member variables
|
2009-10-06 18:25:00 +02:00 |
Daniel Marjamäki
|
23d8937661
|
Fixed #789 (false positive: resource leak reported when using for loop)
|
2009-10-04 19:58:41 +02:00 |
Daniel Marjamäki
|
4a66edd408
|
Fixed #786 (memleak: segmentation fault for 'if TRACE_ON(x)')
|
2009-10-04 19:30:25 +02:00 |
Daniel Marjamäki
|
6b1fae75e5
|
Fixed #785 (False positive: resource leak of extern FILE*)
|
2009-10-04 14:24:41 +02:00 |
Daniel Marjamäki
|
af5a695f82
|
Fixed #727 (False positive: Resource leak when release is done inside function call)
|
2009-10-04 13:10:08 +02:00 |
Daniel Marjamäki
|
ee1bcb728c
|
use '<' comparisons instead of '>' (#610)
|
2009-10-04 07:51:12 +02:00 |
Daniel Marjamäki
|
4387071eb1
|
Fixed #733 (New check: locking & unlocking mutex and semaphore variables)
|
2009-10-03 21:46:22 +02:00 |
Reijo Tomperi
|
b3ad712b61
|
Fix #421 (Memory leak not found when typeid() is used.)
http://sourceforge.net/apps/trac/cppcheck/ticket/421
|
2009-10-01 11:56:59 +03:00 |
Daniel Marjamäki
|
311f6dc92e
|
Fixed #746 (False positive, Memory leak when goto is used)
|
2009-09-28 22:58:06 +02:00 |
Daniel Marjamäki
|
1427f0a2c7
|
memory leaks: fixed a TODO_ASSERT_EQUALS for a false positive
|
2009-09-28 22:41:45 +02:00 |
Daniel Marjamäki
|
a61abcbbc8
|
Fixed #728 (False positive, resource leak, when released in a loop)
|
2009-09-27 21:49:07 +02:00 |
Reijo Tomperi
|
fdde2182b9
|
Fix GPL comments in all files. ">." was missing from the end.
|
2009-09-27 18:08:31 +03:00 |
Daniel Marjamäki
|
482a2f9d95
|
Fixed #718 (False positive, resource leak when break in a loop before exit)
|
2009-09-26 07:19:22 +02:00 |
Daniel Marjamäki
|
cd94d50526
|
Memory leaks: fixed a TODO_ASSERT_EQUALS
|
2009-09-24 22:40:18 +02:00 |
Daniel Marjamäki
|
fa4e0a617e
|
Fixed #700 (False positive: Memory leak)
|
2009-09-23 22:42:07 +02:00 |
Daniel Marjamäki
|
ad92aa4c20
|
Fixed #715 (False positive: Resource leak when exit() after if loop)
|
2009-09-22 18:09:29 +02:00 |
Daniel Marjamäki
|
8f96c1992a
|
Fixed #688 (False positive in error category when --all is used)
|
2009-09-19 08:23:10 +02:00 |
Daniel Marjamäki
|
5efedf85d6
|
Fixed #671 (False positive. Leak when loop is before exit)
|
2009-09-15 22:26:38 +02:00 |
Daniel Marjamäki
|
5df28c51c6
|
memory leaks: minor refactorings
|
2009-09-12 21:13:47 +02:00 |
Daniel Marjamäki
|
ab4a7fdef2
|
Fixed #518 (False positive for leaks when function from err()-family used)
|
2009-09-12 14:11:17 +02:00 |
Reijo Tomperi
|
9828117aff
|
Fixed some "is passed by value" errors from cppcheck source.
|
2009-09-10 22:22:57 +03:00 |
Daniel Marjamäki
|
93659bbe08
|
memory leaks: fixed a todo testcase to find more leaks
|
2009-09-01 20:12:53 +02:00 |
Daniel Marjamäki
|
9a47b7110e
|
memory leaks: fixed todo testcases to find more memory leaks
|
2009-09-01 20:02:28 +02:00 |
Slava Semushin
|
ca053bf8f9
|
CheckMemoryLeakInFunction: print simplified tokens only with --debug and --verbose.
Suggested by aggro80@ and approved by hyd_danmar@ in IRC.
|
2009-09-02 00:54:40 +07:00 |
Daniel Marjamäki
|
7ba244cf45
|
Memory leaks: fixed a todo testcase
|
2009-09-01 19:33:17 +02:00 |
Daniel Marjamäki
|
960fb861da
|
Refactoring: Refactoring of the unit testing for the CheckMemoryLeakInFunction
|
2009-08-30 21:11:15 +02:00 |
Reijo Tomperi
|
fc343b3e9e
|
astyle fix
|
2009-08-29 23:33:12 +03:00 |
Daniel Marjamäki
|
9d7defad22
|
Fixed #615 (Memleak was detected in 1.32 but not in 1.33 and later)
|
2009-08-29 17:33:57 +02:00 |
Daniel Marjamäki
|
1dd2ec4757
|
Fixed #414 (memory leak in if-else construct not detected)
|
2009-08-29 16:55:43 +02:00 |
Daniel Marjamäki
|
270d2b2d4f
|
memory leaks: improved the simplification of 'if* ;'
|
2009-08-29 16:27:16 +02:00 |
Daniel Marjamäki
|
8f1f89ae2b
|
memory leaks: fixed todo test case. reduce exit better
|
2009-08-29 16:03:23 +02:00 |
Daniel Marjamäki
|
b5c6d7ba49
|
memory leaks: fixed bug. return|else are not part of a variable declaration
|
2009-08-29 15:20:37 +02:00 |
Slava Semushin
|
78d44e67ef
|
CheckMemoryLeakInFunction(getcode): don't call Token::Match() if varid equals to zero.
|
2009-08-29 16:27:56 +07:00 |
Daniel Marjamäki
|
6347d0e976
|
memory leaks: better handling of open/close
|
2009-08-29 09:18:21 +02:00 |
Daniel Marjamäki
|
88d0bd3908
|
astyle
|
2009-08-29 08:20:18 +02:00 |
Daniel Marjamäki
|
ee5b2a43c7
|
Fixed #627 (False positive with --all, Resource leak with open())
|
2009-08-29 07:43:44 +02:00 |
Daniel Marjamäki
|
de9e62e90a
|
Memory leaks: handling asprintf better
|
2009-08-29 07:26:32 +02:00 |
Daniel Marjamäki
|
406fdd3219
|
Memory leaks: Fixed two todo testcases (getcode handling of asprintf)
|
2009-08-29 07:02:36 +02:00 |
Daniel Marjamäki
|
ab047c680c
|
memory leaks: fixed a todo testcase
|
2009-08-29 06:42:24 +02:00 |
Daniel Marjamäki
|
74fd052fc0
|
Memory leaks: Testing that asprintf is handled correctly
|
2009-08-28 23:26:40 +02:00 |
Reijo Tomperi
|
bf4ac5521d
|
astyle fix
|
2009-08-28 23:29:08 +03:00 |
danmar
|
3b2744e04a
|
borland c++: fixed compiler errors
|
2009-08-28 10:22:40 +02:00 |
Slava Semushin
|
8dcb846627
|
Fixed #614 (If you see this, there is a bug ###### Token::Match() - varid was 0)
http://sourceforge.net/apps/trac/cppcheck/ticket/614
|
2009-08-26 02:44:19 +07:00 |
Slava Semushin
|
311fb1a1f8
|
src/checkmemoryleak.{h,cpp}: minor improvements.
Corrections for commit 0d6b6e840d
No functional change.
|
2009-08-26 02:32:10 +07:00 |
Slava Semushin
|
ff3d1db480
|
Replace "const unsigned int" to "unsigned int" in methods parameters.
No functional change.
|
2009-08-26 02:26:12 +07:00 |
Daniel Marjamäki
|
522f4c18c8
|
astyle formatting
|
2009-08-23 17:17:57 +02:00 |