crypto/ui/ui_lib.c:233: error: MEMORY_LEAK
  memory dynamically allocated by call to `strdup()` at line 225, column 13 is not reachable after line 233, column 33.
Showing all 6 steps of the trace


crypto/ui/ui_lib.c:219:1: start of procedure UI_dup_info_string()
217.   	}
218.   
219. > int UI_dup_info_string(UI *ui, const char *text)
220.   	{
221.   	char *text_copy=NULL;

crypto/ui/ui_lib.c:221:2: 
219.   int UI_dup_info_string(UI *ui, const char *text)
220.   	{
221. > 	char *text_copy=NULL;
222.   
223.   	if (text)

crypto/ui/ui_lib.c:223:6: Taking true branch
221.   	char *text_copy=NULL;
222.   
223.   	if (text)
            ^
224.   		{
225.   		text_copy=strdup(text);

crypto/ui/ui_lib.c:225:3: 
223.   	if (text)
224.   		{
225. > 		text_copy=strdup(text);
226.   		if (text_copy == NULL)
227.   			{

crypto/ui/ui_lib.c:226:7: Taking false branch
224.   		{
225.   		text_copy=strdup(text);
226.   		if (text_copy == NULL)
             ^
227.   			{
228.   			UIerr(UI_F_UI_DUP_INFO_STRING,ERR_R_MALLOC_FAILURE);

crypto/ui/ui_lib.c:233:2: 
231.   		}
232.   
233. > 	return general_allocate_string(ui, text, 1, UI_INFO, NULL, 0, 0, NULL);
234.   	}
235.   
