From 80eed1e285b285393432cf157f12d56763c19dcc Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Wed, 8 Jul 2015 15:11:47 +0100 Subject: [PATCH] eolian/generator: check if the reference is generatable first --- src/bin/eolian/docs_generator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/eolian/docs_generator.c b/src/bin/eolian/docs_generator.c index 68045de..2999c33 100644 --- a/src/bin/eolian/docs_generator.c +++ b/src/bin/eolian/docs_generator.c @@ -110,6 +110,7 @@ _generate_ref(const char *refn, Eina_Strbuf *wbuf, Eina_Bool use_legacy) if (!fn) goto noref; Eina_Stringshare *fcn = eolian_function_full_c_name_get(fn, ftype, use_legacy); + if (!fcn) goto noref; eina_strbuf_append(wbuf, fcn); eina_stringshare_del(fcn); return; -- 2.7.4