---
UID: NF:atlthunk.AtlThunk_FreeData
title: AtlThunk_FreeData function (atlthunk.h)
description: Frees memory associated with an ATL thunk.
old-location: base\atlthunk_freedata.htm
tech.root: Memory
ms.assetid: 529F37D7-4C23-4E3B-864D-5707B0262A81
ms.date: 12/05/2018
ms.keywords: AtlThunk_FreeData, AtlThunk_FreeData function, atlthunk/AtlThunk_FreeData, base.atlthunk_freedata
f1_keywords:
- atlthunk/AtlThunk_FreeData
dev_langs:
- c++
req.header: atlthunk.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows 10 [desktop apps only]
req.target-min-winversvr: Windows Server 2016 [desktop apps only]
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: 
req.dll: Atlthunk.dll
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- DllExport
api_location:
- atlthunk.dll
api_name:
- AtlThunk_FreeData
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# AtlThunk_FreeData function


## -description


Frees memory associated with an ATL thunk.


## -parameters




### -param Thunk

The ATL thunk.


## -returns



This function does not return a value.



