diff --git a/ppm2pwg b/ppm2pwg index 46acfbf..fbe0dab 160000 --- a/ppm2pwg +++ b/ppm2pwg @@ -1 +1 @@ -Subproject commit 46acfbf52a2267da8f944f08d70369533d1feba0 +Subproject commit fbe0dab589959b3ff700daf594baffdba0bf2aca diff --git a/src/ippdiscovery.cpp b/src/ippdiscovery.cpp index 34f8557..129ac48 100644 --- a/src/ippdiscovery.cpp +++ b/src/ippdiscovery.cpp @@ -146,7 +146,7 @@ void IppDiscovery::readPendingDatagrams() while (socket->hasPendingDatagrams()) { size_t size = socket->pendingDatagramSize(); - Bytestream resp(size); + Bytestream resp = Bytestream::preallocated(size); QHostAddress sender; quint16 senderPort;