lwIP - A Lightweight TCP/IP stack - Bugs: bug #51681, mqtt: cannot free client
You are not allowed to post comments on this tracker with your current authentication level.
bug #51681: mqtt: cannot free client
Submitter: | David GIRAULT <dgirault> | ||
Submitted: | Mon 07 Aug 2017 03:08:51 PM UTC | ||
Category: | apps | Severity: | 3 - Normal |
Item Group: | None | Status: | Fixed |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | git head |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-08-07 | dziegel | Status | None | Fixed | |
Open/Closed | Open | Closed |
Powered by Savane 3.13-02a9.
Corresponding source code
MQTT client have an allocation function but not a free function.
Since app can't assume how client was allocated, it can't call mem_free() directly, so a MQTT api should export a free func.
eg:
mqtt_client_t *mqtt_client_new(void);
mqtt_client_delete(mqtt_client_t *c);