equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: Queue/cache item for file server plugin events* |
14 * Description: Queue/cache item for file server plugin events* |
15 */ |
15 */ |
16 |
16 |
17 |
17 |
18 #include "mdsfspqueue.h" |
18 |
19 |
19 |
20 //----------------------------------------------------------------------------- |
20 //----------------------------------------------------------------------------- |
21 // CMdsFSPQueueItem::NewL() |
21 // CMdsFSPQueueItem::NewL() |
22 //----------------------------------------------------------------------------- |
22 //----------------------------------------------------------------------------- |
23 // |
23 // |
65 iProcessId = aStatus.iProcessId; |
65 iProcessId = aStatus.iProcessId; |
66 |
66 |
67 if( iFileName ) |
67 if( iFileName ) |
68 { |
68 { |
69 delete iFileName; |
69 delete iFileName; |
|
70 iFileName = NULL; |
70 } |
71 } |
|
72 |
71 if( iNewFileName ) |
73 if( iNewFileName ) |
72 { |
74 { |
73 delete iNewFileName; |
75 delete iNewFileName; |
|
76 iNewFileName = NULL; |
74 } |
77 } |
75 |
78 |
76 iFileName = aStatus.iFileName.AllocL(); |
79 iFileName = aStatus.iFileName.AllocL(); |
77 iNewFileName = aStatus.iNewFileName.AllocL(); |
80 iNewFileName = aStatus.iNewFileName.AllocL(); |
78 |
81 |
83 //----------------------------------------------------------------------------- |
86 //----------------------------------------------------------------------------- |
84 // |
87 // |
85 CMdsFSPQueueItem::~CMdsFSPQueueItem() |
88 CMdsFSPQueueItem::~CMdsFSPQueueItem() |
86 { |
89 { |
87 delete iFileName; |
90 delete iFileName; |
|
91 iFileName = NULL; |
88 delete iNewFileName; |
92 delete iNewFileName; |
|
93 iNewFileName = NULL; |
89 } |
94 } |
90 |
95 |