Subject: [Boost-bugs] [Boost C++ Libraries] #11209: conversion - cast_test leaks memory
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-04-20 15:30:53
#11209: conversion - cast_test leaks memory
-------------------------+-----------------------------------------
Reporter: benpope81@⦠| Type: Bugs
Status: new | Milestone: To Be Determined
Component: None | Version: Boost Development Trunk
Severity: Problem | Keywords: conversion test memory leak
-------------------------+-----------------------------------------
The leak is in the test, it doesn't delete what it allocates.
==16678==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 16 byte(s) in 1 object(s) allocated from:
#0 0x4c3d6b in operator new(unsigned long)
/home/ben/development/llvm/trunk/llvm/projects/compiler-
rt/lib/asan/asan_new_delete.cc:62:35
#1 0x4c4c9e in main
/home/ben/development/boost/test/build/boost_root/status/../libs/conversion/test/cast_test.cpp:54:22
#2 0x7efd17fa6a3f in __libc_start_main /build/buildd/glibc-2.21/csu
/libc-start.c:289
Direct leak of 8 byte(s) in 1 object(s) allocated from:
#0 0x4c3d6b in operator new(unsigned long)
/home/ben/development/llvm/trunk/llvm/projects/compiler-
rt/lib/asan/asan_new_delete.cc:62:35
#1 0x4c4f39 in main
/home/ben/development/boost/test/build/boost_root/status/../libs/conversion/test/cast_test.cpp:69:12
#2 0x7efd17fa6a3f in __libc_start_main /build/buildd/glibc-2.21/csu
/libc-start.c:289
SUMMARY: AddressSanitizer: 24 byte(s) leaked in 2 allocation(s).
EXIT STATUS: 23
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11209> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC