TheSession->http_sock = sock;
TheSession->lastreq = time(NULL); /* log */
TheSession->outside_frameset_allowed = outside_frameset_allowed;
- session_loop(req); /* do transaction */
+ session_loop(req); /* do transaction */
pthread_mutex_unlock(&TheSession->SessionMutex); /* unbind */
/* Free the request buffer */
free(req);
req = hptr;
}
+
+ /* Free up any session-local substitution variables which
+ * were set during this transaction
+ */
+ clear_local_substs();
}