Entry: JS_free (Function)
Summary: Deallocates a region of memory.
Syntax:
void JS_free(JSContext *cx, void *p);
Argument Type Description
cx JSContext * Pointer to a JS context from which to derive runtime information.
p void * Pointer to the previously allocated memory
Description:
JS_free deallocates a region of memory allocated by previous calls to JS_malloc and JS_realloc. If p is null, JS_free does nothing. Once memory is freed, it should not be used by your application.
See also:
|
|
|