Skip to content

Commit

Permalink
Fix incorrect pointer use.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed May 23, 2022
1 parent 29c6480 commit 80b3691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ int plugin__handle_message(struct mosquitto *context, struct mosquitto_msg_store
}

if(stored->properties != event_data.properties){
mosquitto_property_free_all(stored->properties);
mosquitto_property_free_all(&stored->properties);
stored->properties = event_data.properties;
}

Expand Down

0 comments on commit 80b3691

Please sign in to comment.