Skip to content

Commit

Permalink
Linux: fix a PROTECT bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Aug 9, 2018
1 parent d106c46 commit 9a33ce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api-linux.c
Expand Up @@ -856,8 +856,8 @@ SEXP ps__find_if_env(SEXP r_marker, SEXP r_after, SEXP r_pid) {
if (match == -1) ps__throw_error();

if (match) {
UNPROTECT(1);
PS__CHECK_HANDLE(handle);
UNPROTECT(1);
return phandle;
}

Expand Down

0 comments on commit 9a33ce6

Please sign in to comment.