location: fix bug of typo 73/68073/1
authorJinhyung Choi <jinh0.choi@samsung.com>
Mon, 2 May 2016 06:07:12 +0000 (15:07 +0900)
committerJinhyung Choi <jinh0.choi@samsung.com>
Mon, 2 May 2016 06:07:12 +0000 (15:07 +0900)
Change-Id: I57b3cdb424866e8bc61ec8e1033eca437b5c5e1e
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
src/msgproc_location.cpp

index d1e8afd2cd78495d74da64e1a45e5380cc100180..214f21772f4ec0aa4885ba194170fc30da61d723 100644 (file)
@@ -131,7 +131,7 @@ static void* getting_location(void* data)
     char* msg = 0;
     LXT_MESSAGE* packet = (LXT_MESSAGE*)malloc(sizeof(LXT_MESSAGE));
 
-    if (!package)
+    if (!packet)
     {
         LOGERR("Failed to allocate packet");
         return NULL;