---
UID: NF:chstrarr.CHStringArray.FreeExtra
title: CHStringArray::FreeExtra (chstrarr.h)
description: The FreeExtra method frees any extra memory allocated while the array increased. This method has no effect on the size or upper bound of the array.
old-location: wmi\chstringarray_freeextra.htm
tech.root: WmiSdk
ms.assetid: 5ed54cc4-284b-4cd7-80c1-e9c5ff27c4bf
ms.date: 12/05/2018
ms.keywords: CHStringArray interface [Windows Management Instrumentation],FreeExtra method, CHStringArray.FreeExtra, CHStringArray::FreeExtra, FreeExtra, FreeExtra method [Windows Management Instrumentation], FreeExtra method [Windows Management Instrumentation],CHStringArray interface, _hmm_chstringarray_freeextra, chstrarr/CHStringArray::FreeExtra, wmi.chstringarray_freeextra
f1_keywords:
- chstrarr/CHStringArray.FreeExtra
dev_langs:
- c++
req.header: chstrarr.h
req.include-header: FwCommon.h
req.target-type: Windows
req.target-min-winverclnt: Windows Vista
req.target-min-winversvr: Windows Server 2008
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: FrameDyn.lib
req.dll: FrameDynOS.dll; FrameDyn.dll
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- FrameDynOS.dll
- FrameDyn.dll
api_name:
- CHStringArray.FreeExtra
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# CHStringArray::FreeExtra


## -description


<p class="CCE_Message">[The <a href="https://docs.microsoft.com/windows/desktop/api/chstrarr/nl-chstrarr-chstringarray">CHStringArray</a> class 
    is part of the WMI Provider Framework which is now considered in final state, and no further development, 
    enhancements, or updates will be available for non-security related issues affecting these libraries. The 
    <a href="https://docs.microsoft.com/previous-versions/windows/desktop/wmi_v2/windows-management-infrastructure">MI APIs</a> should be used for all new 
    development.]

The <b>FreeExtra</b> method frees any extra memory allocated while the array increased. This method has no effect on the size or upper bound of the array.


## -parameters






## -returns



This method does not return a value.




## -see-also




<a href="https://docs.microsoft.com/windows/desktop/api/chstrarr/nl-chstrarr-chstringarray">CHStringArray</a>



<a href="https://docs.microsoft.com/windows/desktop/api/chstrarr/nf-chstrarr-chstringarray-removeall">CHStringArray::RemoveAll</a>
 

 

