[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #51681] mqtt: cannot free client

From: David GIRAULT
Subject: [lwip-devel] [bug #51681] mqtt: cannot free client
Date: Mon, 7 Aug 2017 11:08:52 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36


                 Summary: mqtt: cannot free client
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: dgirault
            Submitted on: Mon 07 Aug 2017 03:08:51 PM UTC
                Category: apps
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: git head



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.


mqtt_client_t *mqtt_client_new(void);
mqtt_client_delete(mqtt_client_t *c);


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]