From 26791f39c042f093ed85d42962bb418f79ed35b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Mon, 11 Nov 2019 13:00:42 +0100 Subject: [PATCH] docs: hacking: add missing code element MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wrap the 'g_renew()' call for VIR_SHRINK_N in . Signed-off-by: Ján Tomko --- docs/hacking.html.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hacking.html.in b/docs/hacking.html.in index 5d13e4f71d..06deab9e90 100644 --- a/docs/hacking.html.in +++ b/docs/hacking.html.in @@ -1056,7 +1056,7 @@ BAD: the newly added memory is not zeroed VIR_EXPAND_Ng_renew(var_t, ptr, n) zero the new memory manually or use an array type - VIR_SHRINK_Ng_renew(var_t, ptr, n) + VIR_SHRINK_Ng_renew(var_t, ptr, n) VIR_APPEND_ELEMENTg_array_append_val g_ptr_array_add or g_byte_array_append