aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dspam/files/patch-dspam.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/dspam/files/patch-dspam.c')
-rw-r--r--mail/dspam/files/patch-dspam.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/mail/dspam/files/patch-dspam.c b/mail/dspam/files/patch-dspam.c
new file mode 100644
index 000000000000..4863a8411661
--- /dev/null
+++ b/mail/dspam/files/patch-dspam.c
@@ -0,0 +1,28 @@
+*** dspam.c Fri Jan 28 14:33:46 2005
+--- dspam.c.orig Fri Jan 28 14:33:40 2005
+***************
+*** 2748,2757 ****
+ free(SIG.data);
+ nt_destroy (inoc_users);
+ nt_destroy (classify_users);
+! if (CTX)
+ dspam_destroy (CTX);
+ return result;
+-
+ }
+
+ int
+--- 2748,2760 ----
+ free(SIG.data);
+ nt_destroy (inoc_users);
+ nt_destroy (classify_users);
+! if (CTX) {
+! if (CTX->signature == &SIG) {
+! CTX->signature = NULL;
+! }
+ dspam_destroy (CTX);
++ }
+ return result;
+ }
+
+ int