[LIBZMQ-450] Copy the stream engine endpoint - string reference caused memory corruption

This commit is contained in:
Lourens Naudé
2012-11-16 17:21:07 +00:00
parent bef9a41bdb
commit fdf162a117
2 changed files with 5 additions and 3 deletions

View File

@@ -132,7 +132,7 @@ namespace zmq
options_t options;
// String representation of endpoint
std::string endpoint;
char *endpoint;
bool plugged;