Collapse All
Parallels Desktop® 10 for Mac — C API Reference Guide
PrlBuffer_Free Function
PrlBuffer

Frees a buffer allocated by the Parallels API library and returned to the client.

Syntax
PRL_RESULT PrlBuffer_Free(
    PRL_VOID_PTR buffer
);
File

PrlApiCore.h

Parameters

buffer
A pointer to a buffer to free.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid pointer to the buffer was specified.

PRL_ERR_SUCCESS - operation completed successfully.

Remarks

Every time a pointer to a buffer containing the data is returned to the client, it must be freed using this function. Failure to do so will result in memory leaks.

Links
Copyright © 1999-2015 Parallels IP Holdings GmbH and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!