]> granicus.if.org Git - sysstat/commitdiff
Revert "Fix CID 144609: Ressource leak"
authorSebastien GODARD <sysstat@users.noreply.github.com>
Mon, 10 Jul 2017 14:58:25 +0000 (16:58 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Mon, 10 Jul 2017 14:58:25 +0000 (16:58 +0200)
This reverts commit 3c553ec126fa32f126ad1526da8a6e733f2bfd7d.

common.h

index 70ed486079e96c5f5c98f7ffe9d81a39f9853422..bb54c43db7d4b09f1e0cef697a587fc85c7e315a 100644 (file)
--- a/common.h
+++ b/common.h
                                                }                                                \
                                                else {                                           \
                                                        memcpy(S, _p_, (SIZE));                  \
-                                                       free(_p_);                               \
                                                }                                                \
                                        }                                                        \
                                        if (!S) {                                                \