FreeBSD Bugzilla – Attachment 160481 Details for
Bug 202742
[patch] net/mosquitto: update to 1.4.3, add bugfix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
files/patch-lib_memory_mosq.c
patch-lib_memory_mosq.c (text/plain), 351 bytes, created by
Stefan Bethke
on 2015-08-29 10:31:14 UTC
(
hide
)
Description:
files/patch-lib_memory_mosq.c
Filename:
MIME Type:
Creator:
Stefan Bethke
Created:
2015-08-29 10:31:14 UTC
Size:
351 bytes
patch
obsolete
>diff --git a/lib/memory_mosq.c b/lib/memory_mosq.c >index b1f5bfd..4d8217d 100644 >--- lib/memory_mosq.c >+++ lib/memory_mosq.c >@@ -54,6 +54,9 @@ void *mosquitto__calloc(size_t nmemb, size_t size) > void mosquitto__free(void *mem) > { > #ifdef REAL_WITH_MEMORY_TRACKING >+ if(!mem){ >+ return; >+ } > memcount -= malloc_usable_size(mem); > #endif > free(mem);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 202742
:
160480
| 160481