1
0
Fork 0
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:
Andy Green 2017-10-18 19:56:45 +08:00
parent fcf5b2c25a
commit 79326e4f07

View file

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