diff mbox

[12/12] xf86drmSL: Add missing function call to SLLocate()

Message ID 1427963547-23614-13-git-send-email-praveen.paneri@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Praveen Paneri April 2, 2015, 8:32 a.m. UTC
A call to SLLocate() is missing from the function drmSLLookupNeighbors()
Adding the same to fix this bug.

Signed-off-by: Praveen Paneri <praveen.paneri@intel.com>
---
 xf86drmSL.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/xf86drmSL.c b/xf86drmSL.c
index edafe7b..9c6f65a 100644
--- a/xf86drmSL.c
+++ b/xf86drmSL.c
@@ -274,6 +274,7 @@  int drmSLLookupNeighbors(void *l, unsigned long key,
     SLEntryPtr    update[SL_MAX_LEVEL + 1];
     int           retcode = 0;
 
+    SLLocate(list, key, update);
     *prev_key   = *next_key   = key;
     *prev_value = *next_value = NULL;