diff --git a/libc3/buf_inspect_u.c.in b/libc3/buf_inspect_u.c.in
index 20342fb..166ea35 100644
--- a/libc3/buf_inspect_u.c.in
+++ b/libc3/buf_inspect_u.c.in
@@ -60,6 +60,7 @@ sw buf_inspect_u_bits$_base (s_buf *buf,
restore:
buf_save_restore_wpos(buf, &save);
clean:
+ free(c);
buf_save_clean(buf, &save);
return r;
}
diff --git a/libc3/buf_inspect_u16.c b/libc3/buf_inspect_u16.c
index b405955..736765e 100644
--- a/libc3/buf_inspect_u16.c
+++ b/libc3/buf_inspect_u16.c
@@ -60,6 +60,7 @@ sw buf_inspect_u16_base (s_buf *buf,
restore:
buf_save_restore_wpos(buf, &save);
clean:
+ free(c);
buf_save_clean(buf, &save);
return r;
}
diff --git a/libc3/buf_inspect_u32.c b/libc3/buf_inspect_u32.c
index ad8d0bb..17accb4 100644
--- a/libc3/buf_inspect_u32.c
+++ b/libc3/buf_inspect_u32.c
@@ -60,6 +60,7 @@ sw buf_inspect_u32_base (s_buf *buf,
restore:
buf_save_restore_wpos(buf, &save);
clean:
+ free(c);
buf_save_clean(buf, &save);
return r;
}
diff --git a/libc3/buf_inspect_u64.c b/libc3/buf_inspect_u64.c
index c782094..bd092ad 100644
--- a/libc3/buf_inspect_u64.c
+++ b/libc3/buf_inspect_u64.c
@@ -60,6 +60,7 @@ sw buf_inspect_u64_base (s_buf *buf,
restore:
buf_save_restore_wpos(buf, &save);
clean:
+ free(c);
buf_save_clean(buf, &save);
return r;
}
diff --git a/libc3/buf_inspect_u8.c b/libc3/buf_inspect_u8.c
index da260b0..37bd276 100644
--- a/libc3/buf_inspect_u8.c
+++ b/libc3/buf_inspect_u8.c
@@ -60,6 +60,7 @@ sw buf_inspect_u8_base (s_buf *buf,
restore:
buf_save_restore_wpos(buf, &save);
clean:
+ free(c);
buf_save_clean(buf, &save);
return r;
}
diff --git a/libc3/buf_inspect_uw.c b/libc3/buf_inspect_uw.c
index f3179e8..211baaa 100644
--- a/libc3/buf_inspect_uw.c
+++ b/libc3/buf_inspect_uw.c
@@ -60,6 +60,7 @@ sw buf_inspect_uw_base (s_buf *buf,
restore:
buf_save_restore_wpos(buf, &save);
clean:
+ free(c);
buf_save_clean(buf, &save);
return r;
}