summaryrefslogtreecommitdiff
path: root/databases/py-psycopg2/patches/patch-aa
blob: fb66bf878ed80212476d9ad0d5c9bf59bda36630 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-aa,v 1.2 2006/09/02 14:15:13 joerg Exp $

--- psycopg/connection_type.c.orig	2006-09-02 16:07:53.000000000 +0200
+++ psycopg/connection_type.c
@@ -288,7 +288,6 @@ connection_setup(connectionObject *self,
     pthread_mutex_init(&(self->lock), NULL);
  
     if (conn_connect(self) != 0) {
-        pthread_mutex_destroy(&(self->lock));
         Dprintf("connection_init: FAILED");
         return -1;
     }