virtual: add set_physical_size protocol
[platform/core/uifw/libtdm.git] / tools / tdm_test_server.c
index bf5a8e2..535462f 100644 (file)
@@ -9,7 +9,7 @@
  *          Taeheon Kim <th908.kim@samsung.com>,
  *          YoungJun Cho <yj44.cho@samsung.com>,
  *          SooChan Lim <sc1.lim@samsung.com>,
- *          Boram Park <sc1.lim@samsung.com>
+ *          Boram Park <boram1288.park@samsung.com>
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the
@@ -819,7 +819,8 @@ destroy(tdm_test_server *data)
                        ret = tdm_layer_unset_buffer(l->layer);
                        TDM_WARNING_IF_FAIL(ret == TDM_ERROR_NONE);
                }
-               tdm_layer_commit(l->layer, NULL, NULL);
+               ret = tdm_layer_commit(l->layer, NULL, NULL);
+               TDM_EXIT_IF_FAIL(ret == TDM_ERROR_NONE);
        }
 
        LIST_FOR_EACH_ENTRY_SAFE(p, pp, &data->pp_list, link) {