*fixed some potential memory leak when popped unexpected type of argument.
This commit is contained in:
parent
10098a7e36
commit
2fd9519b09
3
HISTORY
3
HISTORY
@ -1,3 +1,6 @@
|
|||||||
|
May. 18 2017
|
||||||
|
Fixed some memory potential leak when popped unexpected type of argument
|
||||||
|
|
||||||
May. 17 2017
|
May. 17 2017
|
||||||
Fixed a forked structure disposing issue if error occurs
|
Fixed a forked structure disposing issue if error occurs
|
||||||
|
|
||||||
|
417
core/my_basic.c
417
core/my_basic.c
File diff suppressed because it is too large
Load Diff
@ -352,7 +352,7 @@ extern "C" {
|
|||||||
#endif /* MB_CODES */
|
#endif /* MB_CODES */
|
||||||
|
|
||||||
#ifndef mb_check
|
#ifndef mb_check
|
||||||
# define mb_check(__r) do { int __hr = __r; if(__hr != MB_FUNC_OK) { return __hr; } } while(0)
|
# define mb_check(__expr) do { int __hr = (__expr); if((__hr) != MB_FUNC_OK) { return (__hr); } } while(0)
|
||||||
#endif /* mb_check */
|
#endif /* mb_check */
|
||||||
|
|
||||||
#ifndef mb_reg_fun
|
#ifndef mb_reg_fun
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user