Blame SOURCES/fix-memory-leak-in-auth_fn-callback.patch

717483
diff --git a/context.c b/context.c
717483
index b41c440..fc2befa 100644
717483
--- a/context.c
717483
+++ b/context.c
717483
@@ -78,6 +78,7 @@ auth_fn (SMBCCTX *ctx,
717483
 			 &use_username,
717483
 			 &use_password))
717483
     {
717483
+      Py_DECREF (result);
717483
       debugprintf ("<- auth_fn(), incorrect callback result\n");
717483
       return;
717483
     }
717483
@@ -85,6 +86,7 @@ auth_fn (SMBCCTX *ctx,
717483
   strncpy (workgroup, use_workgroup, wgmaxlen);
717483
   strncpy (username, use_username, unmaxlen);
717483
   strncpy (password, use_password, pwmaxlen);
717483
+  Py_DECREF (result);
717483
   debugprintf ("<- auth_fn(), got callback result\n");
717483
 }
717483