aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/StateMachines
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-04-30 16:55:54 +0300
committerShlomo Hecht <shlomo@twine-s.com>2019-04-30 16:55:54 +0300
commitbd103be9febc3034bcb803b470adf37e67d326cb (patch)
tree2401da582d78707897e1b9819b5aaf34d51843fa /Software/Embedded_SW/Embedded/StateMachines
parenta122c7edcc87e9ca32c24851337021b1633cd31c (diff)
downloadTango-bd103be9febc3034bcb803b470adf37e67d326cb.tar.gz
Tango-bd103be9febc3034bcb803b470adf37e67d326cb.zip
small change
Diffstat (limited to 'Software/Embedded_SW/Embedded/StateMachines')
-rw-r--r--Software/Embedded_SW/Embedded/StateMachines/Printing/JobSTM.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/StateMachines/Printing/JobSTM.c b/Software/Embedded_SW/Embedded/StateMachines/Printing/JobSTM.c
index 96b2b372e..1bd07c06e 100644
--- a/Software/Embedded_SW/Embedded/StateMachines/Printing/JobSTM.c
+++ b/Software/Embedded_SW/Embedded/StateMachines/Printing/JobSTM.c
@@ -808,7 +808,10 @@ void SendJobProgress(double ProcessedLength, int SegmentId, bool done, char *Mes
if (done == true)
{
if (CurrentRequest!= NULL)
+ {
job_request__free_unpacked(CurrentRequest,NULL);
+ CurrentRequest = NULL;
+ }
JobStopReporting();
JobMessageStruc JobMessage;