[redland-dev] [Raptor RDF Syntax Library 0000397]: Memory Leak

Mantis Bug Tracker mantis-bug-sender at librdf.org
Wed Oct 27 17:44:52 CEST 2010


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=397 
====================================================================== 
Reported By:                shoops
Assigned To:                
====================================================================== 
Project:                    Raptor RDF Syntax Library
Issue ID:                   397
Category:                   api
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Syntax Name:                 
====================================================================== 
Date Submitted:             2010-10-27 15:44
Last Modified:              2010-10-27 15:44
====================================================================== 
Summary:                    Memory Leak
Description: 
Valgrind reports the following memory leak:

==17213== 4,802 bytes in 14 blocks are definitely lost in loss record 137 of
144
==17213==    at 0x4025BD3: malloc (vg_replace_malloc.c:236)
==17213==    by 0x869674B: raptor_write_string_iostream_finish
(raptor_iostream.c:418)
==17213==    by 0x8696324: raptor_free_iostream (raptor_iostream.c:679)
==17213==    by 0x868DF52: raptor_serialize_end (raptor_serialize.c:779)

Looking at the code it is clear the memory allocated for str is not released.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-27 15:44 shoops         New Issue                                    
======================================================================



More information about the redland-dev mailing list