Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

JS_freeop

This article needs a technical review. How you can help.

This article covers features introduced in SpiderMonkey 17

A wrapper for js_free.

Syntax

void
JS_freeop(JSFreeOp *fop, void *p);
Name Type Description
fop JSFreeOp * A pointer to JSFreeOp structure to be used to get the implementation of free.
p void * A pointer to the allocated memory to be freed.

Description

JS_freeop is a wrapper for js_free(p) that may delay js_free(p) invocation as a performance optimization as specified by the given JSFreeOp instance.

See Also

Document Tags and Contributors

 Contributors to this page: kscarfone, arai
 Last updated by: kscarfone,