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