Skip to content

Commit 8f1143c

Browse files
author
Pavel Siska
committed
mqtt
1 parent e54e68a commit 8f1143c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/process/mqtt/src/mqtt.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ class MQTTPlugin : public ProcessPlugin {
171171
bool flow_flush = false; ///< Tell storage plugin to flush current Flow.
172172
uint32_t maximal_topic_count
173173
= 0; ///< Maximal count of topics from Publish packet header to store for each flow
174-
RecordExtMQTT* recPrealloc; ///< Preallocated extension.
174+
RecordExtMQTT* recPrealloc = nullptr; ///< Preallocated extension.
175175
bool parse_mqtt(const char* data, int payload_len, RecordExtMQTT* rec) noexcept;
176176
void add_ext_mqtt(const char* data, int payload_len, Flow& flow);
177177
std::pair<uint32_t, bool>

0 commit comments

Comments
 (0)