FUObjectAllocator::FreeUObject

Returns a [UObjectBase](API\Runtime\CoreUObject\UObject\UObjectBase) to the free store, unless it is in the permanent object pool

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectAllocator.h

Include

#include "UObject/UObjectAllocator.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectAllocator.cpp

Syntax

void FreeUObject
(
    UObjectBase * Object
) const

Remarks

Returns a UObjectBase to the free store, unless it is in the permanent object pool

Parameters

Parameter

Description

Object

object to free

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss