if (body) {
rspamd_fstring_free (body);
}
+ if (local_kp) {
+ rspamd_keypair_unref (local_kp);
+ }
return 1;
}
if (body) {
rspamd_fstring_free (body);
}
+ if (local_kp) {
+ rspamd_keypair_unref (local_kp);
+ }
return luaL_error (L,
"Bad params to rspamd_http:request(): either task or config should be set");
if (body) {
rspamd_fstring_free (body);
}
+ if (local_kp) {
+ rspamd_keypair_unref (local_kp);
+ }
return luaL_error (L,
"Bad params to rspamd_http:request(): ev_base isn't passed");