File argus-clients-3.0.0-leak-fix.patch of Package argus-client
--- common/argus_client.c 2008-03-24 13:28:06.000000000 +0100
+++ common/argus_client.c 2009-09-17 12:31:10.000000000 +0200
@@ -8500,17 +8500,25 @@
if (cont)
agg->cont++;
- if (name)
+ if (name) {
agg->name = strdup(name);
+ free(name);
+ }
- if (pres)
+ if (pres) {
agg->pres = strdup(pres);
+ free(pres);
+ }
- if (report)
+ if (report) {
agg->report = strdup(report);
+ free(report);
+ }
- if (correct)
+ if (correct) {
agg->correct = strdup(correct);
+ free(correct);
+ }
agg->filterstr = filter;
if (status) {