Fix another double-close
[claws.git] / src / plugins / clamd / libclamd / clamd-plugin.c
index b11554d325c90f2519a4a26aeed60e73f23437d5..80bf1e91c6c3cb570a57487fbc89080d904bf39c 100644 (file)
@@ -509,7 +509,6 @@ Clamd_Stat clamd_verify_email(const gchar* path, response* result) {
                        result->msg = g_strdup(tmp);
                        g_free(tmp);
                        debug_print("result: %s\n", result->msg);
-                       close(sock);
                        return stat;
                }
                debug_print("copy to buf: %s\n", tmp);