Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-4824

Unclear memory de-allocation code in src/libs/zbxdbcache/nextchecks.c

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 2.0.0rc3
    • 2.0.0rc2
    • Server (S)

      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 ?
      For example, In file src/libs/zbxdbcache/dbcache.c, function DCmass_update_triggers(), there are both "zbx_free(trigger->expression);" and "zbx_free(trigger->new_error);".

            Unassigned Unassigned
            andris Andris Mednis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: