Rev 1159 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1159 | Rev 1232 | ||
---|---|---|---|
Line 49... | Line 49... | ||
49 | * |
49 | * |
50 | */ |
50 | */ |
51 | public function __destruct() { |
51 | public function __destruct() { |
52 | if ($this->res) { |
52 | if ($this->res) { |
53 | pg_free_result($this->res); |
53 | pg_free_result($this->res); |
- | 54 | $this->res = null; |
|
54 | } |
55 | } |
55 | } |
56 | } |
56 | 57 | ||
57 | /** |
58 | /** |
58 | * @return bool |
59 | * @return bool |