AppleOpenSource/WebKit2-7609.3.5.1.3/UIProcess/API/glib/WebKitSecurityOrigin.cpp
/**
 * webkit_security_origin_unref:
 * @origin: A #WebKitSecurityOrigin
 *
 * Atomically decrements the reference count of @origin by one.
 * If the reference count drops to 0, all memory allocated by
 * #WebKitSecurityOrigin is released. This function is MT-safe and may be
 * called from any thread.
 *
 * Since: 2.16
 */


Atomically decrements the reference count of @origin by one.
If the reference count drops to 0, all memory allocated by
#WebKitSecurityOrigin is released. This function is MT-safe and may be
called from any thread.


Atomically decrements the reference count of @origin by one . If the reference count drops to 0 all memory allocated by #WebKitSecurityOrigin is released . This function is MT - safe and may be called from any thread .
void webkit_security_origin_unref(WebKitSecurityOrigin* origin)
{
    g_return_if_fail(origin);
    if (g_atomic_int_dec_and_test(&origin->referenceCount)) {
        origin->~WebKitSecurityOrigin();
        fastFree(origin);
    }
}
void webkit_security_origin_unref ( WebKitSecurityOrigin * origin ) { g_return_if_fail ( origin ) ; if ( g_atomic_int_dec_and_test ( & origin -> referenceCount ) ) { origin -> ~ WebKitSecurityOrigin ( ) ; fastFree ( origin ) ; } }
webkit_security_origin_unref:
 @origin: A #WebKitSecurityOrigin
webkit_security_origin_unref : @origin : A #WebKitSecurityOrigin