Only show hastags graph if constructed\n\nhappens on Pleroma

FossilOrigin-Name: 0f1d280518d0fdf5901fb503e01326d9399cfe438b6b354f9808161eace2fcaa
This commit is contained in:
nekobit 2022-05-13 01:33:22 +00:00
parent 0eff30d061
commit 68bbd48da6

View file

@ -172,7 +172,9 @@ void content_search_hashtags(struct session* ssn, mastodont_t* api, char** data)
results.tags_len,
14,
NULL);
tags_graph = construct_bar_graph_container(tags_bars, NULL);
if (tags_bars)
tags_graph = construct_bar_graph_container(tags_bars, NULL);
if (tags_bars) free(tags_bars);
}
else