diff --git a/src/db.c b/src/db.c index 461a8dce..5da64923 100644 --- a/src/db.c +++ b/src/db.c @@ -469,7 +469,7 @@ VOID _app_db_parse_rule ( { _r_str_splitatchar (&sr, DIVIDER_APP[0], &first_part, &sr); - status = _r_str_environmentexpandstring (&first_part, &path_string); + status = _r_str_environmentexpandstring (NULL, &first_part, &path_string); if (!NT_SUCCESS (status)) path_string = _r_obj_createstring2 (&first_part); diff --git a/src/notifications.c b/src/notifications.c index a458d3c6..aaa00166 100644 --- a/src/notifications.c +++ b/src/notifications.c @@ -460,7 +460,7 @@ VOID _app_notify_playsound () if (NT_SUCCESS (status)) { - status = _r_str_environmentexpandstring (&new_path->sr, &expanded_string); + status = _r_str_environmentexpandstring (NULL, &new_path->sr, &expanded_string); if (NT_SUCCESS (status)) _r_obj_movereference (&new_path, expanded_string);