diff --git a/src/menu-fn/tcp.cpp b/src/menu-fn/tcp.cpp index e9652cee..6db6a812 100644 --- a/src/menu-fn/tcp.cpp +++ b/src/menu-fn/tcp.cpp @@ -108,7 +108,7 @@ TCP_Frame(tcpinfo_t *in) if (fwrite(in.m_fSocket, (void *)out, strlen(in.m_strBuffer[0])) <= 0) { dprint("^1TCP_Frame^7: Unsuccessful frame\n"); - memfree(out); + memfree((__variant *)out); return; } @@ -123,7 +123,7 @@ TCP_Frame(tcpinfo_t *in) } in.m_iBufferLines--; - memfree(out); + memfree((__variant *)out); } int