swu_object_release()

Release an swu_object previously returned by another API call

Synopsis:

#include <swu/Common.h>
 
void swu_object_release( void *object )

Arguments:

object
An swu_object returned from an earlier API call.

Library:

libswu-core

Use the -l swu-core option with qcc to link against the SWU library. This library is usually included automatically.

Description:

Release an swu_object previously returned by another API call. This function decrements the reference counts of objects returned in calls to the SWU library API. Such objects include swu_string_t, swu_update_t, swu_target_t, and others.

To maintain access to an swu-core object, you must call swu_object_retain() to increase the object's reference count. Any object that has its reference count increased this way must be released later with swu_object_release() when no longer needed.