Browse Source

add missing free

Chris Cromer 2 months ago
parent
commit
69ee999c88
Signed by: Chris Cromer <chris@cromer.cl> GPG Key ID: 39CC813FF3C8708A
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      php/postgresql-demo.php

+ 1
- 0
php/postgresql-demo.php View File

@@ -22,6 +22,7 @@ while ($row = pg_fetch_row($result)) {
22 22
 	}
23 23
 	echo '</tr>';
24 24
 }
25
+pg_free_result($result);
25 26
 echo '</table>';
26 27
 pg_close($conn);
27 28
 ?>

Loading…
Cancel
Save