Project

General

Profile

Feature #5355

205: All allocated socket buffers should be freed

Added by Pavel Andrianov about 7 years ago. Updated about 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
10/20/2014
Due date:
% Done:

0%

Estimated time:
Published in build:

Description

The dynamic allocation of memory is difficult to check. The suggested rule targets to allocation of socket buffers. The correct usage includes:
  • Freeing all socket buffers to avoid a memory leak.
  • Freeing a socket buffer only once.
  • Freeing allocated socket buffers.

Sample bugfixes:
a4e0b4c
8ea008e
0b1511b
08f7de1

#1

Updated by Evgeny Novikov about 7 years ago

This specification should be likely merged with #3311.

Also available in: Atom PDF