# svrng_delete_distribution

Deallocates memory for the specified distribution

## Syntax

svrng_distribution_t svrng_delete_distribution( svrng_distribution_t distr)

## Input Parameters

distr | Pointer to the distribution to be deallocated.

## Description

The svrng_delete_distribution function deallocates memory for the specified distribution.

## Status flags set

Name | Description
--- | ---
SVRNG_STATUS_ERROR_BAD_DISTR | distr is a NULL pointer.

## Return Values

NULL pointer.

Parent topic: Distribution Initialization and Finalization