summaryrefslogtreecommitdiffstats
path: root/source3/passdb/pdb_pgsql.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb/pdb_pgsql.c')
-rw-r--r--source3/passdb/pdb_pgsql.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/passdb/pdb_pgsql.c b/source3/passdb/pdb_pgsql.c
index fbafd70cb6..632903c1ac 100644
--- a/source3/passdb/pdb_pgsql.c
+++ b/source3/passdb/pdb_pgsql.c
@@ -231,8 +231,6 @@ static NTSTATUS pgsqlsam_setsampwent(struct pdb_methods *methods, BOOL update, u
}
talloc_free(query);
- if ( data->pwent != NULL )
- PQclear( data->pwent ) ;
return retval ;
}