diff --git a/src/node_os.cc b/src/node_os.cc index f84c0f216e3dd9..8a603351b9275c 100644 --- a/src/node_os.cc +++ b/src/node_os.cc @@ -134,16 +134,12 @@ static void GetCPUInfo(const FunctionCallbackInfo& args) { static void GetFreeMemory(const FunctionCallbackInfo& args) { double amount = uv_get_free_memory(); - if (amount < 0) - return; args.GetReturnValue().Set(amount); } static void GetTotalMemory(const FunctionCallbackInfo& args) { double amount = uv_get_total_memory(); - if (amount < 0) - return; args.GetReturnValue().Set(amount); }