Fix completion in cli mode after def374 30/18230/1
Paul Bignier [Thu, 9 Jun 2016 13:06:49 +0000 (15:06 +0200)]
 * Remove partial free of a specific dictionary after def374 freed all of them

Change-Id: I89a455f64b14e61bad010bec2882b0746d7d0bb1

scilab/modules/console/src/c/cmdLine/autoCompletionCli.c

index 6df14c9..3b22a0e 100644 (file)
@@ -521,8 +521,6 @@ static void TermCompletionOnAll(char *lineBeforeCaret, char *lineAfterCaret, cha
 
                     CopyLineAtPrompt(wk_buf, buflinetmp, cursor, cursor_max);
                 }
-
-                freeArrayOfString(completionDictionary, 1);
             }
             else
             {