diff options
| author | Federico Di Gregorio <fog@initd.org> | 2005-05-09 08:54:32 +0000 |
|---|---|---|
| committer | Federico Di Gregorio <fog@initd.org> | 2005-05-09 08:54:32 +0000 |
| commit | b1745ff139bac8890bb73e09c3965f22304753ac (patch) | |
| tree | 181508f7eb7a997adcba484ace6ab8835db52dc2 /psycopg/adapter_binary.c | |
| parent | 65a4b86fa2facb766b33f52813a341661dedd643 (diff) | |
| download | psycopg2-b1745ff139bac8890bb73e09c3965f22304753ac.tar.gz | |
Various fixes.
Diffstat (limited to 'psycopg/adapter_binary.c')
| -rw-r--r-- | psycopg/adapter_binary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psycopg/adapter_binary.c b/psycopg/adapter_binary.c index 37ea50f..9b82e45 100644 --- a/psycopg/adapter_binary.c +++ b/psycopg/adapter_binary.c @@ -154,7 +154,7 @@ binary_str(binaryObject *self) if (self->buffer == NULL) { binary_quote(self); } - Py_INCREF(self->buffer); + Py_XINCREF(self->buffer); return self->buffer; } |
