Home My Page Projects Code Snippets Project Openings DPWS Core
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files Mediawiki

[#418] memory leaks in registry

Date:
2015-08-17 14:33
Priority:
3
State:
Open
Submitted by:
Antoine Hincelin (ahincelin)
Assigned to:
Stéphane ROUGES (srouges)
Target Fix Version:
none
Product:
DPWS Core
Operating System:
All
Component:
none
Version:
v2.5.1
Severity:
normal
Resolution:
Fixed
Hardware:
All
URL:
Summary:
memory leaks in registry

Detailed description
Memory leaks in file dcDPWS_Registry.c at lines 662, 666

This happens when calling multiple times set_device_ptr_att() with following params:
DPWS_STR_FIRMWARE_VERSION
DPWS_STR_SERIAL_NUMBER

Suggested fix in attachment.
Message  ↓
Date: 2015-08-31 09:26
Sender: Stéphane ROUGES

Obvious problems fixed in trunk.

Attachments:
Size Name Date By Download
632 bytesdcDPWS_Registry.c.patch2015-08-17 14:33ahincelindcDPWS_Registry.c.patch
Field Old Value Date By
assigned_tonone2015-08-31 09:26srouges
ResolutionNone2015-08-31 09:26srouges
File Added68: dcDPWS_Registry.c.patch2015-08-17 14:33ahincelin