apply loc_bad_alloc to owned_ptr
Distinguish location of owned_ptr failure
This commit is contained in:
+1
-1
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user