Commit 6fd223ee authored by Carsten Fuhrmann's avatar Carsten Fuhrmann
Browse files

fixed mixed free memory functions

parent 37e94587
......@@ -87,7 +87,7 @@ QString clientID2Name(uint64 serverConnectionHandlerID, anyID clientID)
return QString();
QString name(tmp);
ts3plugin_freeMemory(tmp);
ts3Functions.freeMemory(tmp);
return name;
}
......@@ -98,7 +98,7 @@ QString channelID2Name(uint64 serverConnectionHandlerID, uint64 channelID)
return QString();
QString name(tmp);
ts3plugin_freeMemory(tmp);
ts3Functions.freeMemory(tmp);
return name;
}
......@@ -323,7 +323,7 @@ void ts3plugin_initHotkeys(struct PluginHotkey*** hotkeys) {
/* Register hotkeys giving a keyword and a description.
* The keyword will be later passed to ts3plugin_onHotkeyEvent to identify which hotkey was triggered.
* The description is shown in the clients hotkey dialog. */
BEGIN_CREATE_HOTKEYS(3); /* Create 3 hotkeys. Size must be correct for allocating memory. */
BEGIN_CREATE_HOTKEYS(1); /* Create 3 hotkeys. Size must be correct for allocating memory. */
CREATE_HOTKEY("Channellist", "Displays a simple channellist of the server");
END_CREATE_HOTKEYS;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment