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

Details

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

    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 ?
      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);".

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: