Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

Memory leak in C++ - by: olab

$
0
0
Hello,
Attached code is a small program thas is supposed to connect to an opcserver and return one item with value, timestamp and quality. The program is called cyclically from a soft plc. Now I se that the program seems to leak memory. Can someone please tell me what to do to prevent this?

Kind regards
[File Attachment: C-Code.txt]

Viewing all articles
Browse latest Browse all 1794

Trending Articles