ext/libuv/src/unix/openbsd.c in libuv-2.0.6 vs ext/libuv/src/unix/openbsd.c in libuv-2.0.8
- old
+ new
@@ -159,10 +159,10 @@
return argv;
}
int uv_set_process_title(const char* title) {
- if (process_title) uv__free(process_title);
+ uv__free(process_title);
process_title = uv__strdup(title);
setproctitle(title);
return 0;
}