apply loc_bad_alloc to owned_ptr

Distinguish location of owned_ptr failure
This commit is contained in:
Michael Davidsaver
2023-03-28 11:13:52 -07:00
parent d692d7da2c
commit 303bc61079
11 changed files with 36 additions and 22 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ void test_fill_evbuf()
{
testDiag("%s", __func__);
evbuf buf(evbuffer_new());
evbuf buf(__FILE__, __LINE__, evbuffer_new());
{
EvOutBuf M(true, buf.get());