Browse Source

Decrement json references in api.c to not leak memory.

The json_val in api.c is a borrowed reference, not a new one so don't decref it.
nfactor-troky
Con Kolivas 11 years ago committed by Noel Maersk
parent
commit
ebeb710375
  1. 1
      api.c

1
api.c

@ -3876,6 +3876,7 @@ void api(int api_thr_id) @@ -3876,6 +3876,7 @@ void api(int api_thr_id)
}
}
}
json_decref(json_config);
}
}

Loading…
Cancel
Save