buglwIP - 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

Mon 07 Aug 2017 03:08:51 PM UTC, original submission:  

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);

David GIRAULT <dgirault>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dziegel (Updated the item)
  • -email is unavailable- added by dgirault (Submitted the item)
  •  

    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 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code