Permalink
Browse files

Wrong free func.

  • Loading branch information...
1 parent 30425c2 commit 5cc3600f2eee53af45eaaf457e183550af0f98c7 @banker banker committed Jun 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 ) {

0 comments on commit 5cc3600

Please sign in to comment.