From: Victor Julien Date: Tue, 10 Dec 2013 11:05:17 +0000 (+0100) Subject: Fix compilation on systems that use the fallback SC_ATOMIC_ API. X-Git-Tag: suricata-2.0beta2~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4fdd1a7a7168225d2d70b437b741ff3d2d93bca4;p=thirdparty%2Fsuricata.git Fix compilation on systems that use the fallback SC_ATOMIC_ API. --- diff --git a/src/tm-threads.c b/src/tm-threads.c index 2293bc618d..18ec35e578 100644 --- a/src/tm-threads.c +++ b/src/tm-threads.c @@ -1013,7 +1013,7 @@ static inline TmSlot * _TmSlotSetFuncAppend(ThreadVars *tv, TmModule *tm, void * } void TmSlotFree(TmSlot *tms) { - SC_ATOMIC_DESTROY(slot->slot_data); + SC_ATOMIC_DESTROY(tms->slot_data); SCFree(tms); }