diff --git a/server/api/src/rsCollRepl.cpp b/server/api/src/rsCollRepl.cpp index 5445b20aa9..3036685f6a 100644 --- a/server/api/src/rsCollRepl.cpp +++ b/server/api/src/rsCollRepl.cpp @@ -138,7 +138,7 @@ rsCollRepl( rsComm_t *rsComm, collInp_t *collReplInp, collEnt = NULL; } rsCloseCollection( rsComm, &handleInx ); - freeCollEnt( collEnt ); + free(collEnt); return savedStatus; }