summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2024-03-12 15:55:02 +0200
committerSebastian Dröge <sebastian@centricular.com>2024-03-12 15:55:14 +0200
commitbca725b320d4f9f70a3d468ad415cca274990875 (patch)
tree398ab17bea3a0b8f2fbc9b1ef6e5f1ab3d353e53
parentad63c197a8990efdff2338447dd6d6012c2f7046 (diff)
Fix memory leak of reordered instructions
Part-of: <https://gitlab.freedesktop.org/gstreamer/orc/-/merge_requests/174>
-rw-r--r--orc/orcprogram-x86.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/orc/orcprogram-x86.c b/orc/orcprogram-x86.c
index 30c0289..eb55f26 100644
--- a/orc/orcprogram-x86.c
+++ b/orc/orcprogram-x86.c
@@ -756,6 +756,8 @@ orc_x86_emit_loop (OrcCompiler *compiler, int offset, int update)
}
}
}
+
+ free (insn_idx);
}
static void