MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / Free

Method Free

Source/Sound/threaded_sound_wrapper.cpp:74–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void ThreadedSoundMessage::Free() {
75 if (data != NULL) {
76 if (datalen > LOCAL_DATA_SIZE) {
77 OG_FREE(data);
78 } else {
79 // Nothing
80 }
81
82 data = NULL;
83 string_data = false;
84 }
85}
86
87ThreadedSoundMessage::ThreadedSoundMessage() : type(None),
88 data(NULL),

Callers 4

RequestUploadMethod · 0.45
SteamworksUGCMethod · 0.45
AS_SocketTCPSendFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected