---
name: "CoTaskMemFree"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/CoTaskMemFree"
---

# CoTaskMemFree(3w)

## NAME

**CoTaskMemFree** (OLE32.@)

## SYNOPSIS

VOID CoTaskMemFree\
  (\
   LPVOID *ptr*\
  )

## DESCRIPTION

Frees memory allocated from the current process memory allocator.

## PARAMS

*ptr* **\[In\]**  Memory block to free.

## RETURNS

Nothing.

## IMPLEMENTATION

Declared in **"objbase.h"**.

Implemented in **"dlls/ole32/ifs.c"**.

Debug channel **"olemalloc"**.
