mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
daemonize: fix missing lws_malloc reason param
This commit is contained in:
parent
fcf5b2c25a
commit
df0f8341dd
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ lws_daemonize(const char *_lock_path)
|
||||||
}
|
}
|
||||||
|
|
||||||
n = strlen(_lock_path) + 1;
|
n = strlen(_lock_path) + 1;
|
||||||
lock_path = lws_malloc(n);
|
lock_path = lws_malloc(n, "daemonize lock");
|
||||||
if (!lock_path) {
|
if (!lock_path) {
|
||||||
fprintf(stderr, "Out of mem in lws_daemonize\n");
|
fprintf(stderr, "Out of mem in lws_daemonize\n");
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue