Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndris Zeila <andris.zeila@zabbix.com>2017-09-14 13:11:42 +0300
committerAndris Zeila <andris.zeila@zabbix.com>2017-09-14 13:11:42 +0300
commit4766e63f31525a3aa9e5ee0da00be5c7d04a0cb5 (patch)
tree4144c648be2b2804547c36b944282f4f8f2647c5 /include/sysinfo.h
parent45e041f774ded833ba2b491b230808dae37c4113 (diff)
...G...PS. [ZBX-12718] fixed crash when using item of log value type as master item for dependent items
[merge ^/branches/3.4 -c r72671]
Diffstat (limited to 'include/sysinfo.h')
-rw-r--r--include/sysinfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysinfo.h b/include/sysinfo.h
index 7380a252930..97a7dc51f6b 100644
--- a/include/sysinfo.h
+++ b/include/sysinfo.h
@@ -86,6 +86,7 @@ do \
if ((res)->type & AR_LOG) \
{ \
zbx_log_free((res)->log); \
+ (res)->log = NULL; \
(res)->type &= ~AR_LOG; \
} \
} \