[ZBX-4824] Unclear memory de-allocation code in src/libs/zbxdbcache/nextchecks.c Created: 2012 Apr 02 Updated: 2017 May 30 Resolved: 2012 Apr 03 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 2.0.0rc2 |
Fix Version/s: | 2.0.0rc3 |
Type: | Incident report | Priority: | Trivial |
Reporter: | Andris Mednis | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | memoryleak | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
In file src/libs/zbxdbcache/nextchecks.c, function DCflush_nextchecks(), it is not clear why there is only "zbx_free(trigger->expression);", but there is no "zbx_free(trigger->new_error);". Could it be a memory leak ? |
Comments |
Comment by Alexander Vladishev [ 2012 Apr 03 ] |
Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-4824 |
Comment by dimir [ 2012 Apr 04 ] |
Successfully tested. |
Comment by Alexander Vladishev [ 2012 Apr 04 ] |
Fixed in version pre-2.0.0rc3 r26644. |