[go: nahoru, domu]

Skip to content

Commit

Permalink
pxpcap: Remove extra reference decrement
Browse files Browse the repository at this point in the history
Looks like 013da21 got a little too aggressive and added an extra
reference decrement.  While this didn't seem to bother CPython, it caused
occasional crashes in PyPy.
  • Loading branch information
MurphyMc committed Oct 7, 2013
1 parent 10dea6e commit ead2aed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pox/lib/pxpcap/pxpcap_c/pxpcap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,6 @@ static void ld_callback (u_char * my_thread_state, const struct pcap_pkthdr * h,
ts->exception = 1;
pcap_breakloop(ts->ppcap);
}
Py_DECREF(args);
if (ts->release_thread)
ts->ts = PyEval_SaveThread();
}
Expand Down

0 comments on commit ead2aed

Please sign in to comment.