From: Victor Julien Date: Fri, 25 Mar 2016 11:48:08 +0000 (+0100) Subject: detect-port: improve comment about sgh pointer X-Git-Tag: suricata-3.1RC1~299 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adc453eec6e61db7520bb3fe0dd8ad4a249486a6;p=thirdparty%2Fsuricata.git detect-port: improve comment about sgh pointer --- diff --git a/src/detect.h b/src/detect.h index 663fbc2b0b..6abd893794 100644 --- a/src/detect.h +++ b/src/detect.h @@ -229,7 +229,11 @@ typedef struct DetectPort_ { uint8_t flags; /**< flags for this port */ - /* signatures that belong in this group */ + /* signatures that belong in this group + * + * If the PORT_SIGGROUPHEAD_COPY flag is set, we don't own this pointer + * (memory is freed elsewhere). + */ struct SigGroupHead_ *sh; struct DetectPort_ *prev;