From ffe5f40eaab7dfd0a174a0543c1c326ab32e730f Mon Sep 17 00:00:00 2001 From: henrypp Date: Sun, 4 Jul 2021 01:39:24 +0600 Subject: [PATCH] remove _r_obj_movereference --- src/helper.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/helper.c b/src/helper.c index 9db776d3..ab0a3360 100644 --- a/src/helper.c +++ b/src/helper.c @@ -1536,12 +1536,10 @@ PR_STRING _app_getnetworkpath (ULONG pid, PULONG64 pmodules, PITEM_NETWORK ptr_n if (pmodules) { - PR_STRING service_name = _r_sys_querytaginformation (UlongToHandle (pid), UlongToPtr (*(PULONG)pmodules)); + process_name = _r_sys_querytaginformation (UlongToHandle (pid), UlongToPtr (*(PULONG)pmodules)); - if (service_name) + if (process_name) { - _r_obj_movereference (&process_name, service_name); - ptr_network->type = DataAppService; } }