Commit e85e05f5 authored by claes's avatar claes

Allow repeated qdb_Get without freeing previous buffer

parent 1f8fd465
/*
* Proview $Id: rt_qdb.c,v 1.7 2005-09-01 14:57:56 claes Exp $
* Proview $Id: rt_qdb.c,v 1.8 2006-02-10 07:02:41 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -940,8 +940,8 @@ qdb_Get (
qdb_AssumeLocked;
if (!pool_QisEmpty(sts, &qdb->pool, &qp->read_lh))
pwr_Return(NULL, sts, QCOM__ALLOCQUOTA);
// if (!pool_QisEmpty(sts, &qdb->pool, &qp->read_lh))
// pwr_Return(NULL, sts, QCOM__ALLOCQUOTA);
bp = qdb_Deque(sts, qp, tmo);
if (bp == NULL) return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment