diff -urN libdbi/src/dbi_result.c libdbi-leak_fix/src/dbi_result.c
--- libdbi/src/dbi_result.c	2004-08-25 02:01:43.000000000 -0600
+++ libdbi-leak_fix/src/dbi_result.c	2005-03-22 00:05:06.087270005 -0700
@@ -517,6 +517,7 @@
 		
 		free(result->rows[rowidx]->field_values);
 		free(result->rows[rowidx]->field_sizes);
+		free(result->rows[rowidx]->field_flags);
 		free(result->rows[rowidx]);
 	}
 	
