diff options
Diffstat (limited to 'app/perfunwind.cpp')
-rw-r--r-- | app/perfunwind.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/perfunwind.cpp b/app/perfunwind.cpp index 904fcbf..6da4ae5 100644 --- a/app/perfunwind.cpp +++ b/app/perfunwind.cpp @@ -711,6 +711,7 @@ void PerfUnwind::sendString(qint32 id, const QByteArray& string) void PerfUnwind::sendLocation(qint32 id, const PerfUnwind::Location &location) { QByteArray buffer; + Q_ASSERT(location.pid); QDataStream(&buffer, QIODevice::WriteOnly) << static_cast<quint8>(LocationDefinition) << id << location; sendBuffer(buffer); |