My problem is deleting a node from linked list.
I have two structs :
typedef struct inner_list { int count; char word[100]; inner_list*next; }
I don't think you are freeing your inner_list. You will get a memory leak.
inner_list