summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-08-24 19:04:48 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-08-24 19:04:48 +0000
commitb31c0ab63c7fc08164da351d66b67351005a8690 (patch)
tree651695db6c739b3a8e93f072b7f9cdda8171fbbf /src
parente801194088c749ad0ddd61e096c2f061d6e05f1d (diff)
downloadzabbix-b31c0ab63c7fc08164da351d66b67351005a8690.tar.gz
zabbix-b31c0ab63c7fc08164da351d66b67351005a8690.tar.xz
zabbix-b31c0ab63c7fc08164da351d66b67351005a8690.zip
- fixed memory leak when processing non-existant trapper item (Alexei)
[svn merge -r4658:4661 svn://svn.zabbix.com/branches/1.4] git-svn-id: svn://svn.zabbix.com/trunk@4662 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src')
-rw-r--r--src/zabbix_server/functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zabbix_server/functions.c b/src/zabbix_server/functions.c
index 0f1f564b..93cf91ef 100644
--- a/src/zabbix_server/functions.c
+++ b/src/zabbix_server/functions.c
@@ -302,7 +302,7 @@ int process_data(zbx_sock_t *sock,char *server,char *key,char *value,char *lastl
if(!row)
{
-
+ DBfree_result(result);
return FAIL;
/*
zabbix_log( LOG_LEVEL_DEBUG, "Before checking autoregistration for [%s]",