Xcos: fix some typo after f6b07c 57/17157/2
Clément DAVID [Thu, 3 Sep 2015 16:39:56 +0000 (18:39 +0200)]
Change-Id: I09c87dd757e33ab30c58a0075a93642ad6d1e4da

scilab/modules/xcos/sci_gateway/cpp/sci_xcosPalMove.cpp

index 1f9dd6b..d280274 100644 (file)
@@ -47,7 +47,7 @@ int sci_xcosPalMove(char *fname, void* pvApiCtx)
     /* target setup */
     if (readVectorString(pvApiCtx, 2, &target, &targetLength, fname))
     {
-        releaseVectorString(target, targetLength);
+        releaseVectorString(source, sourceLength);
         return 0;
     }