diff --git a/lib4d_sql/fourd.c b/lib4d_sql/fourd.c index fae35d5..f65e4c2 100755 --- a/lib4d_sql/fourd.c +++ b/lib4d_sql/fourd.c @@ -241,12 +241,6 @@ void * fourd_field(FOURD_RESULT *res,unsigned int numCol) return elmt->pValue; } -//This function is for use by the python 4d driver, as it appears to be the only -//way to get this block of memory freed. Hopefully that will change. -void _free_field_string(char **value){ - free(*value); -} - int fourd_field_to_string(FOURD_RESULT *res,unsigned int numCol,char **value,size_t *len) { unsigned int nbCol=res->row_type.nbColumn; diff --git a/lib4d_sql/fourd.h b/lib4d_sql/fourd.h index add33b1..3144bd3 100755 --- a/lib4d_sql/fourd.h +++ b/lib4d_sql/fourd.h @@ -263,9 +263,6 @@ const char * fourd_sqlstate(FOURD *cnx); void fourd_free(FOURD* cnx); void fourd_free_statement(FOURD_STATEMENT *state); void fourd_timeout(FOURD* cnx,int timeout); -//For use by external non-c code that can't access/clear this block of memory -//directly. -void _free_field_string(char **value); /*function on FOURD_RESULT*/ FOURD_LONG8 fourd_num_rows(FOURD_RESULT *result);