Memleak: put request local strings into the http-header array (we used SVPUT to manag...
[citadel.git] / webcit / subst.c
index bc6c747fab82040f1eb4895f3f86417d22324882..ad3b9081a1b0bb6a239d2a96f06963d2b7ba6b1c 100644 (file)
@@ -529,7 +529,7 @@ void GetTemplateTokenString(StrBuf *Target,
                *Value = ChrPtr(Buf);
                *len = StrLength(Buf);
                /* we can't free it here, so we put it into the subst so its discarded later on. */
-               ///SVPUTBuf(TKEY(N), Buf, 0);
+               PutRequestLocalMem(Buf, HFreeStrBuf);
                break;
 
        default: