Skip to content

Commit

Permalink
groupingby: fix wrong refactor step in 6c0ba34
Browse files Browse the repository at this point in the history
Signed-off-by: Kokan <kokaipeter@gmail.com>
  • Loading branch information
Kokan committed May 2, 2019
1 parent e3efac2 commit 7d0eb30
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/dbparser/groupingby.c
Expand Up @@ -354,6 +354,13 @@ _perform_groupby(GroupingBy *self, LogMessage *msg)
nmsg = synthetic_message_generate_with_context(self->synthetic_message, context, buffer1);
//TODO: this only propagates the message, it should be fine to call without having the *lock*


g_hash_table_remove(self->correllation->state, &context->key);

/* correllation_context_free is automatically called when returning from
this function by the timerwheel code as a destroy notify
callback. */

g_static_mutex_unlock(&self->lock);

stateful_parser_emit_synthetic(&self->super, nmsg);
Expand Down

0 comments on commit 7d0eb30

Please sign in to comment.