Skip to content

Instantly share code, notes, and snippets.

@methodmissing
Created April 13, 2009 23:00
Show Gist options
  • Select an option

  • Save methodmissing/94816 to your computer and use it in GitHub Desktop.

Select an option

Save methodmissing/94816 to your computer and use it in GitHub Desktop.
static void free_mysqlres(struct mysql_res* resp)
{
if (resp->freed == Qfalse) {
mysql_free_result(resp->res);
store_result_count--;
}
xfree(resp);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment