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

Submitted by:  David GIRAULT <dgirault>
Submitted on:  Mon 07 Aug 2017 03:08:51 PM UTC  
 
Category: appsSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedPlanned 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 07 Aug 2017 06:43:52 PM UTCdziegelStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1