[njs] Fixed typo introduced in f70929728e86.

Dmitry Volyntsev xeioex at nginx.com
Tue Aug 30 04:13:32 UTC 2022


details:   https://hg.nginx.org/njs/rev/b48963b98d97
branches:  
changeset: 1937:b48963b98d97
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Mon Aug 29 21:08:47 2022 -0700
description:
Fixed typo introduced in f70929728e86.

Found by Coverity (CID 1512553, 1512555).

diffstat:

 external/njs_webcrypto_module.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r f70929728e86 -r b48963b98d97 external/njs_webcrypto_module.c
--- a/external/njs_webcrypto_module.c	Fri Aug 26 21:49:14 2022 -0700
+++ b/external/njs_webcrypto_module.c	Mon Aug 29 21:08:47 2022 -0700
@@ -2072,7 +2072,7 @@ done:
 
 memory_error:
 
-    njs_vm_memory_pool(vm);
+    njs_vm_memory_error(vm);
 
     return NJS_ERROR;
 }
@@ -2189,7 +2189,7 @@ done:
 
 memory_error:
 
-    njs_vm_memory_pool(vm);
+    njs_vm_memory_error(vm);
 
     return NJS_ERROR;
 }



More information about the nginx-devel mailing list