Avoid the possibility of a double free. Fix by Carlo Ascani

This commit is contained in:
Jaime Casanova
2012-04-27 02:08:40 -05:00
parent 3c5d82b9ef
commit b09eff9f76

View File

@@ -456,8 +456,11 @@ checkNodeConfiguration(char *conninfo)
exit(ERR_BAD_CONFIG); exit(ERR_BAD_CONFIG);
} }
} }
else
{
PQclear(res); PQclear(res);
} }
}
static unsigned long long int static unsigned long long int