Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Wrong free func.

  • Loading branch information...
commit 5cc3600f2eee53af45eaaf457e183550af0f98c7 1 parent 30425c2
Kyle Banker banker authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/bson.c
2  src/bson.c
View
@@ -974,7 +974,7 @@ MONGO_EXPORT bson_err_handler set_bson_err_handler( bson_err_handler func ) {
}
MONGO_EXPORT void bson_free( void *ptr ) {
- bson_malloc_func( ptr );
+ bson_free_func( ptr );
}
MONGO_EXPORT void *bson_malloc( int size ) {
Please sign in to comment.
Something went wrong with that request. Please try again.