Skip to content

Commit

Permalink
Merge branch 'fixes'
Browse files Browse the repository at this point in the history
* fixes:
  mx_mysql: Fix wrong assertion
  • Loading branch information
mariux committed Aug 24, 2015
2 parents 9fd6580 + 193a3b4 commit 77e96bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mx_mysql.c
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,8 @@ inline int mx_mysql_stmt_param_count_get(struct mx_mysql_stmt *stmt, unsigned lo

int mx_mysql_bind_cleanup(struct mx_mysql_bind *bind)
{
mx_assert_return_minus_errno(bind, EINVAL);
if (!bind)
return 0;

mx_free_null(bind->bind);
mx_free_null(bind->data);
Expand Down

0 comments on commit 77e96bd

Please sign in to comment.