- bug fixes

SKIPPED:
	psi/haakedriv.c
This commit is contained in:
zolliker
2010-02-01 11:29:46 +00:00
parent 820db0b52a
commit 3e8938e986
4 changed files with 26 additions and 23 deletions

View File

@@ -1008,13 +1008,8 @@ void SctQueueNode(SctController * controller, Hdb * node,
data->conCtx = NULL;
data->answered = 1;
if (!DevQueue(data->controller->devser, data, prio,
SctWriteHandler, SctMatch, SctKillData)) {
if (data->name != NULL) {
free(data->name);
}
free(data);
} else {
if (DevQueue(data->controller->devser, data, prio,
SctWriteHandler, SctMatch, SctKillData)) {
if (con != NULL) {
data->conCtx = SCCopyConnection(con);
}