lwip-devel
[Top][All Lists]
Advanced

[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

URL:
  <http://savannah.nongnu.org/bugs/?51681>

                 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

    _______________________________________________________

Details:

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





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?51681>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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