# phpman > man > dmmp_context_free(3)

[dmmp_context_free(3)](https://www.chedong.com/phpMan.php/man/dmmpcontextfree/3/markdown)        Device Mapper Multipath API - libdmmp Manual        [dmmp_context_free(3)](https://www.chedong.com/phpMan.php/man/dmmpcontextfree/3/markdown)



## NAME
       dmmp_context_free - Release the memory of struct dmmp_context.

## SYNOPSIS
       **void** **dmmp**___**context**___**free** **(struct** **dmmp**___**context** *****_ctx_**);**

## ARGUMENTS
       ctx         Pointer of 'struct dmmp_context'.

## DESCRIPTION
       Release  the  memory  of  struct  dmmp_context, but the userdata memory defined via **dmmp**___**con**‐‐
       **text**___**userdata**___**set** will not be touched.

## RETURN
       void



March 2018                                dmmp_context_free                     [dmmp_context_free(3)](https://www.chedong.com/phpMan.php/man/dmmpcontextfree/3/markdown)
