- **summary**: imm: Fix ccpcheck errors --> imm: Fix cppcheck errors
- Description has changed:
Diff:
~~~~
--- old
+++ new
@@ -1,4 +1,4 @@
-Run ccpcheck with changeset 7713:f30bc7992ce3
+Run cppcheck with changeset 7713:f30bc7992ce3
These errors is going to be fixed in this ticket
~~~~
---
** [tickets:#1876] imm: Fix cppcheck errors**
**Status:** fixed
**Milestone:** 4.7.2
**Created:** Mon Jun 13, 2016 04:55 AM UTC by Hung Nguyen
**Last Updated:** Thu Jun 16, 2016 04:52 AM UTC
**Owner:** Hung Nguyen
Run cppcheck with changeset 7713:f30bc7992ce3
These errors is going to be fixed in this ticket
File|Line|Id|Severity|Message
---|---|---|---|---
imm_admin.c|166|memleak|error|Memory leak: tmp
The other errors can be considered as warnings and can be fixed in enhancement
tickets.
File|Line|Id|Severity|Message
---|---|---|---|---
immnd_proc.c|424|nullPointer|error|Possible null pointer dereference: mdirDup
ImmModel.cc|10195|memleakOnRealloc|error|Common realloc mistake: 'fmtError'
nulled but not freed upon failure
ImmModel.cc|13873|iterators|error|Same iterator is used with different
containers 'ccbsToGc' and 'sCcbVector'.
ImmModel.cc|13874|iterators|error|Same iterator is used with different
containers 'ccbsToGc' and 'sCcbVector'.
immpbe_daemon.cc|1117|memleakOnRealloc|error|Common realloc mistake: 'rparams'
nulled but not freed upon failure
immpbe_daemon.cc|1135|memleakOnRealloc|error|Common realloc mistake: 'rparams'
nulled but not freed upon failure
imm_admin.c|309|memleakOnRealloc|error|Common realloc mistake: 'params' nulled
but not freed upon failure
imm_admin.c|321|memleakOnRealloc|error|Common realloc mistake: 'params' nulled
but not freed upon failure
imm_cfg.c|509|memleakOnRealloc|error|Common realloc mistake: 'attrValues'
nulled but not freed upon failure
imm_cfg.c|517|memleakOnRealloc|error|Common realloc mistake: 'attrValues'
nulled but not freed upon failure
imm_cfg.c|695|memleakOnRealloc|error|Common realloc mistake: 'attrMods' nulled
but not freed upon failure
imm_cfg.c|1402|memleakOnRealloc|error|Common realloc mistake: 'optargs' nulled
but not freed upon failure
imm_cfg.c|1552|memleakOnRealloc|error|Common realloc mistake: 'classNames'
nulled but not freed upon failure
imm_cfg.c|1588|memleakOnRealloc|error|Common realloc mistake: 'objectNames'
nulled but not freed upon failure
imm_list.c|469|memleakOnRealloc|error|Common realloc mistake: 'attributeNames'
nulled but not freed upon failure
immutil.c|383|memleakOnRealloc|error|Common realloc mistake: 'buffer' nulled
but not freed upon failure
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets