Clone define_context operations
authorGuillaume Zajac <guillaume.zajac@linux.intel.com>
Wed, 20 Mar 2013 17:30:56 +0000 (18:30 +0100)
committerwootak.jung <wootak.jung@samsung.com>
Sun, 24 Mar 2013 09:03:16 +0000 (18:03 +0900)
src/co_ps.c

index 6e24c8d..739724e 100644 (file)
@@ -48,6 +48,9 @@ struct private_object_data {
 
 static void _clone_ps_operations(struct private_object_data *po, struct tcore_ps_operations *ps_ops)
 {
+       if(ps_ops->define_context) {
+               po->ops->define_context = ps_ops->define_context;
+       }
        if(ps_ops->activate_context) {
                po->ops->activate_context = ps_ops->activate_context;
        }